Memcached
Easy to use, distributed, in-memory key-value store for use as a high performance cache or session store.What is Memcached?
Memcached is an easy-to-use, high-performance, in-memory data store. It offers a mature, scalable, open-source solution for delivering sub-millisecond response times making it useful as a cache or session store. Memcached is a popular choice for powering real-time applications in Web, Mobile Apps, Gaming, Ad-Tech, and E-Commerce.
How does Memcached work?
Unlike databases that store data on disk or SSDs, Memcached keeps its data in memory. By eliminating the need to access disks, in-memory key-value stores such as Memcached avoid seek time delays and can access data in microseconds. Memcached is also distributed, meaning that it is easy to scale out by adding new nodes. And since Memcached is multithreaded, you can easily scale up compute capacity. As a result of its speed and scalability as well as its simple design, efficient memory management, and API support for most popular languages Memcached is a popular choice for high-performance, large-scale caching use cases.
Benefits of Memcached
Use cases
Caching
Session store
Language support
Memcached supports most leading programming languages and protocols, including:
Python
Java
PHP
C/C#/C++
Perl
Go
Ruby
JavaScript
Node.js
ASCII protocol
Binary protocol
TCP & UDP protocols
Redis vs. Memcached
Redis and Memcached are the two most popular in-memory key-value data stores. Memcached is designed for simplicity while Redis offers a rich set of features that make it effective for a wide range of use cases. Understand the differences between the two engines to decide which solution better meets your needs. Learn more about Redis vs. Memcached
Fully managed Memcached on AWS
Amazon offers a fully managed Memcached service, Amazon ElastiCache for Memcached:
- Easily set up, operate, and scale Memcached deployments in the cloud. Failed nodes are automatically detected and replaced.
- Take advantage of cost-efficient and resizable hardware capacity.
- Use an ElasitCache Memcached Cluster Client with Auto Discovery to speed up application development by simplifying node management.