ElastiCache – Memcached
Memcached is an open source, distributed caching server used for achieving high performance. It stores data in RAM so that retrievals can be faster and more efficient. ElastiCache is compatible with the Memcached caching server, so the tools and API clients used with the existing Memcached servers are compatible with the ElastiCache Memcached server. For Memcached ElastiCache, we can create a cluster of nodes, where data can be distributed based on the hashing mechanism. The cache keys need to be different so that you can make use of multiple nodes.
Note
More details on Memcached can be found at https://memcached.org/.
Let's look at how we can create a Memcached ElastiCache cluster.
AWS Management Console
Go to the AWS ElastiCache Management Console at https://console.aws.amazon.com/elasticache/home
- Click
Memcached
on the left-hand menu. - Click the
Create
button. - Provide the ElastiCache cluster details as follows:
Cluster engine
: Select theMemcached
option.Name
: Type inaws...