Skip to content

Elasticache

Amazon ElastiCache makes it easy to set up, manage, and scale distributed in-memory cache environments in the AWS Cloud. It provides a high-performance, resizable, and cost-effective in-memory cache, while removing the complexity associated with deploying and managing a distributed cache environment.

ElastiCache works with both of the following 1. Redis OSS 2. Memcached engines.

  • In general, pulling an image from a cache is far faster than performing a database read.
  • ElastiCache uses shards as a grouping mechanism for individual Redis nodes. So a single node is part of a shard, which in turn is part of a cluster.
  • Consider ElastiCache as only useful for storing transient data. Further, itโ€™s not a persistent store; therefore, itโ€™s great for caching data from a message queue or providing very fast ephemeral storage.

Using consistent Hashing in MemCacheD

Async Replication for read replica

Using shards

Failover process in Cache

Serverless Caching

ElastiCache serverless caching creates a highly available cache that spans multiple Availability Zones. You can specify subnets from different availability zones and same VPC as you create your cache or ElastiCache will choose subnets automatically from your default VPC.


Was this page helpful?
-->