Amazon ElastiCache
#53 · Level 2 · Scaling and resilience · DatabaseConcept
Section titled “Concept”Amazon ElastiCache is a managed in-memory cache service, which keeps frequently needed data in RAM. It supports the Valkey, Redis OSS and Memcached engines. An app first looks for data in the cache, and only goes to the database if it isn’t there. As a result answers come back faster, and the load on the main database, such as RDS or DynamoDB, goes down. ElastiCache can be used as a cluster you run, or as serverless.
Simple example
Section titled “Simple example”Keeping salt and pepper on the kitchen shelf, within reach. You don’t have to go to the storeroom every time.
Why it’s needed
Section titled “Why it’s needed”Going to the database every time takes time and puts load on the database. If popular data is kept in a cache, answers come back in milliseconds.
Where it’s used
Section titled “Where it’s used”A website’s popular pages, login sessions, leaderboards, and the results of database queries.
Azure equivalent
Section titled “Azure equivalent”Azure Cache for Redis / Azure Managed Redis
Learn more
Section titled “Learn more”For details and the latest information, see the official documentation: