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.

Members can save this page, take notes and track progress. See membership · Sign in

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.

See plans Sign in

Reference for this lesson

Free pages on the services and comparisons in this lesson.

Open in the app to mark lessons complete, take notes and track your progress.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake