Amazon ElastiCache
Databases · Common, learn when you need it
Keeps frequently used data in memory so it is fast.
Picture it as
Keeping the tools you use most on the bench, not in the store room.
What it actually does
ElastiCache runs Redis or Memcached. It holds results in memory so your database is not asked the same question a thousand times. Memory is not permanent, so never keep the only copy here.
Reach for it when
- Slow repeated queries
- Session storage
- Leaderboards and counters
Do not reach for it when
- Data you cannot afford to lose.
One small example
Caching the course list so the database is hit once a minute, not once a click.
How you pay
Per node hour.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.