🟢

ElastiCache – Redis vs Memcached

Redis

  • High availability with Multi-AZ and automatic failover.
  • Read replicas for horizontal read scaling.
  • Data durability through AOF (Append-Only File) persistence.
  • Backup and restore capabilities.
  • Rich data structures support (Strings, Hashes, Lists, Sets, Sorted Sets, etc.). Redis has purpose-built commands for working with real-time geospatial data at scale

Memcached

  • Multi-node deployment with data partitioning (sharding).
  • No replication and no built-in high availability.
  • Non-persistent (in-memory only).
  • No native backup/restore.
  • Multi-threaded architecture for better utilization of multi-core systems.