DEV Community

Manoj Kumar Patra
Manoj Kumar Patra

Posted on

AWS Basics - Beginner's Guide to ElastiCache

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:

  1. caching the results of I/O intensive database queries where the database is not changing too frequently
  2. 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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay