Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Skip to main content

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.

Learn about Amazon ElastiCache

Redis vs Memcached

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

Page topics

General

Open all

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

1

Sign up

Get access to the Amazon ElastiCache Free Tier

2

Learn with simple tutorials

Explore how to create an  ElastiCache cluster

3

Start building

Begin building with help from the user guide