Amazon ElastiCache

Amazon ElastiCache: Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. The service improves the performance of web applications by allowing you to retrieve information from a fast, managed, in-memory cache, instead of relying entirely on slower disk-based databases.

Amazon ElasticCache Caching Engines

Amazon ElastiCache supports two open-source in-memory caching engines:


a fast, open-source, in-memory data store, and cache. Amazon ElastiCache for Redis is a Redis-compatible in-memory service that delivers the ease-of-use and power of Redis along with the availability, reliability, and performance suitable for the most demanding applications. Both single node and up to 15-shard clusters are available, enabling scalability to up to 3.55 TiB of in-memory data. ElastiCache for Redis is fully managed, scalable, and secure. This makes it an ideal candidate to power high-performance use cases such as web, mobile apps, gaming, ad-tech, and IoT.

Redis Benefits

High Availability and Scalability

The Amazon ElasticCache develops highly available solutions with constant performance and reliability. The scale in,scale-out, scale-up operations are used to customize the cluster size so that the cluster size can change as per your demands.

Simplicity and Extensibility

With a few lines of code, you can store, access and use the data in your application. The hash data structure is used to store the data in Redis otherwise you need to write more lines of code to convert data from one format to other formats. The Amazon elasticCache is the open-source supported by the dynamic community.

Replication and Persistence

To replicate for multiple servers, the Amazon ElasticCache specifies primary -replica architecture. It provides persistence by providing backups like copying the data set to disk. In case the server fails then it improves the read performance and fast recovery.

Flexible Data Structures

The few following data structures of Redis are mention below:

Data Type Description
Lists  It is a collection of strings.
Strings Text upto a size of 512MB
Hashes The data structure used to store the fields and their values.
Bitmaps The data type provides bit-level operations.
HyperLogLogs It is the probabilistic data structure that is used to estimate the unique items in the data set.
Sets the unordered collection of strings with intersect and union operation.
Sorted Sets Set that are ordered by the value.


A widely adopted memory object caching system. ElastiCache for Memcached is protocol compliant with Memcached, so popular tools that you use today with existing Memcached environment will work seamlessly with the service

Memcached Benefits


The Amazon ElasticCache allows you to split the data so that you can scale out the capacity of adding new nodes. It is easy to scale because of Memcached architecture is distributed and multithreaded. Because of the multithreaded concept, you can compute the node capacity.


The Memcached is designed very simple which makes it easy and powerful to the application and it is supported by many programming languages like C, C++, Java, Ruby, Python.

Sub-milliseconds response times
The Memcached data is stored in the server’s main memory which doesn’t require disk for data. So the response time is very fast and can do millions of operations per second.


Applications like WordPress and Django use Memcached to get the best performance. A community is supported by a vibrant community because it is open source.