DATABASES & QUERY Cache

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 ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// 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

simple caching, no failover required, multi-threaded

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SelectEngine.html ↗

"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

01

Role: Managed in-memory data store with complex data types, replication, and automatic failover.

02

Choose: You need RDS query caching, sorted-set leaderboards, session state, pub/sub, or failover.

03

Avoid: You only need a simple object cache on large multi-core nodes. Use Memcached.

04

Trap: Watch for exam signals like simple caching, no failover required, multi-threaded.

05

Fact: Valkey and Redis OSS clusters support replication, pub/sub, sorted sets, geospatial indexing, and backup and restore.

06

Fact: Automatic failover is optional with cluster mode disabled and required with cluster mode enabled.

07

Fact: Valkey and Redis OSS clusters are not multi-threaded. Memcached is.