Comparing Redis OSS and Memcached
Select the in-memory data store that meets your needs.Choosing between Redis OSS and Memcached
Redis OSS and Memcached are popular, open-source, in-memory data stores. Although they are both easy to use and offer high performance, there are important differences to consider when choosing an engine. Memcached is designed for simplicity while Redis OSS offers a rich set of features that make it effective for a wide range of use cases. Understand your requirements and what each engine offers to decide which solution better meets your needs.
Memcached |
Redis OSS | |
---|---|---|
Sub-millisecond latency | Yes | Yes |
Developer ease of use |
Yes | Yes |
Data partitioning | Yes | Yes |
Support for a broad set of programming languages | Yes | Yes |
Advanced data structures | - | Yes |
Multithreaded architecture | Yes | - |
Snapshots | - | Yes |
Replication | - | Yes |
Transactions |
- | Yes |
Pub/Sub | - | Yes |
Lua scripting | - | Yes |
Geospatial support | - | Yes |
Amazon ElastiCache
Amazon ElastiCache offers fully managed Redis OSS and Memcached offering the following benefits:
- No longer need to perform management tasks such as hardware provisioning, software patching, setup, configuration, and failure recovery. This allows you to focus on high value application development.
- Have access to monitoring metrics associated with your nodes, enabling you to diagnose and react to issues quickly.
- Can take advantage of cost-efficient and resizable hardware capacity.
Additonally, ElastiCache features an enhanced engine which improves on the reliability and efficiency of Redis OSS while remaining compatibility so your applications work seamlessly without changes. ElastiCache also features Online Cluster Resizing, supports encryption, and is HIPAA eligible and PCI DSS compliant.
ElastiCache for Memcached features Auto Discovery which helps developers save time and effort by simplifying the way an application connects to a cluster.
Read the more detailed comparison between the two engines for further information about differences between the two products.
Steps
Sign up
Get access to the Amazon ElastiCache Free Tier
Learn with simple tutorials
Explore how to create an ElastiCache cluster
Start building
Begin building with help from the user guide