AWS Solutions Architect – Associate (SAA-C03) · Databases and migration
Amazon ElastiCache and caching strategies
Speed up reads and offload databases with in-memory caching: Valkey/Redis vs Memcached, lazy loading vs write-through.
The idea
A cache keeps frequently read data in memory, so most requests skip the slower database. Amazon ElastiCache runs managed in-memory engines: Valkey and Redis OSS (rich data structures, replication, persistence) or Memcached (simple, multi-threaded, no persistence).
Caching is a common answer for "the database is overloaded by reads", "reduce latency" and "store user sessions so web servers can be stateless".
Premium course
Keep reading with a membership
The rest of this lesson, its practice questions and the whole AWS Solutions Architect – Associate (SAA-C03) course are part of the membership.
Reference for this lesson
Free pages on the services and comparisons in this lesson.
- Amazon ElastiCache · Service
Open in the app to mark lessons complete, take notes and track your progress.