ElastiCache

Definition

AWS in-memory caching service for improving application performance. Like having a high-speed memory bank that stores frequently accessed data.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between ElastiCache and Amazon RDS?
Amazon RDS is a managed relational database that stores your system of record (durable data). ElastiCache is an in-memory cache designed for speed, not long-term storage. You typically keep authoritative data in RDS (or another database) and use ElastiCache to store frequently accessed or expensive-to-compute results to reduce latency and database load.
When should I use ElastiCache?
Use ElastiCache when you have read-heavy workloads, repeated queries, or expensive computations and you need lower latency than a database can provide. Common triggers include: slow database reads under load, frequent access to the same objects (product details, user profiles), session or shopping cart storage, rate limiting, leaderboards, and caching API responses. If your data must always be strongly consistent and durable, keep it in a database and use ElastiCache as a performance layer.
How much does ElastiCache cost?
ElastiCache pricing depends mainly on the node type (CPU/memory), number of nodes, engine (Redis or Memcached), region, and whether you use features like Multi-AZ, backups/snapshots (Redis), and data transfer. Costs typically scale with memory size and high availability requirements. For accurate estimates, use the AWS Pricing Calculator and consider peak memory needs, replication/failover, and expected network traffic.

Category: data

Difficulty: intermediate

Related Terms

See Also