Amazon ElastiCache for Valkey / Redis OSS
Managed in-memory data store with complex data types, replication, and automatic failover.
Official AWS Reference https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SelectEngine.html ↗// DECISION LOGIC MATRIX
When to Choose
You need RDS query caching, sorted-set leaderboards, session state, pub/sub, or failover.
When to Avoid
You only need a simple object cache on large multi-core nodes. Use Memcached.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"Amazon ElastiCache supports the Valkey, Memcached, and Redis OSS engines. Choose Valkey or Redis OSS for complex data types, replication, automatic failover, pub/sub, sorted sets, and backup and restore."
- Valkey and Redis OSS clusters support replication, pub/sub, sorted sets, geospatial indexing, and backup and restore.
- Automatic failover is optional with cluster mode disabled and required with cluster mode enabled.
- Valkey and Redis OSS clusters are not multi-threaded. Memcached is.
- ElastiCache Serverless supports Valkey 7.2+, Memcached 1.6.22+, and Redis OSS 7.1, and creates a cache in under a minute.
// AMAZON ELASTICACHE FOR VALKEY / REDIS OSS TAKEAWAYS
Role: Managed in-memory data store with complex data types, replication, and automatic failover.
Choose: You need RDS query caching, sorted-set leaderboards, session state, pub/sub, or failover.
Avoid: You only need a simple object cache on large multi-core nodes. Use Memcached.
Trap: Watch for exam signals like simple caching, no failover required, multi-threaded.
Fact: Valkey and Redis OSS clusters support replication, pub/sub, sorted sets, geospatial indexing, and backup and restore.
Fact: Automatic failover is optional with cluster mode disabled and required with cluster mode enabled.
Fact: Valkey and Redis OSS clusters are not multi-threaded. Memcached is.