ElastiCache is an in-memory cache generally used to store frequently accessed data to speed up database queries thus, improving performance.
ElastiCache is a key value store.
ElastiCache is good for read-heavy database workloads such as:
- caching the results of I/O intensive database queries where the database is not changing too frequently
- storing session data for distributed applications
Types of ElastiCache available:
Memcached | Redis |
---|---|
Basic object caching | Supports complex data types like lists and hashes |
Scales horizontally | |
No persistence, Multi-AZ and fail-over | Persistence, Multi-AZ and fail-over |
Good for basic caching | Supports sorting and ranking data (e.g. for gaming leaderboards) |
Top comments (0)