Ends in
00
days
00
hrs
00
mins
00
secs
ENROLL NOW

🎁 Get 20% Off - Christmas Big Sale on All Practice Exams, Video Courses, and eBooks!

Redis (cluster mode enabled vs disabled) vs Memcached

Home » AWS Cheat Sheets » AWS Database Services » Database Related Notes » Redis (cluster mode enabled vs disabled) vs Memcached

Redis (cluster mode enabled vs disabled) vs Memcached

Last updated on April 10, 2023

 

Redis (cluster mode enabled)

Redis (cluster mode disabled)

Memcached

Data Types

string, sets, sorted sets, lists, hashes, bitmaps, hyperloglog, geospatial indexes

string, sets, sorted sets, lists, hashes, bitmaps, hyperloglog, geospatial indexes

string, objects (like databases)

Data Partitioning (distribute your data among multiple nodes)

Supported

Unsupported

Supported

Modifiable cluster

Only versions 3.2.10 and later 

Yes

Yes

Online resharding

Only versions 3.2.10 and later 

No

No

Encryption

3.2.6, 4.0.10 and later

3.2.6, 4.0.10 and later

Unsupported

Sub-millisecond latency

Yes

Yes

Yes

FedRAMP, PCI DSS and HIPAA compliant

3.2.6, 4.0.10 and later

3.2.6, 4.0.10 and later

No

Multi-threaded (make use of multiple processing cores)

No

No

Yes

Node type upgrading

No

Yes

No

Engine upgrading

Yes

   

Cluster replication (create multiple copies of a primary cluster)

Supported

Supported

Unsupported

Multi-AZ for automatic failover

Required

Optional

Unsupported

Transactions (execute a group of commands as an isolated and atomic operation)

Supported

Supported

Unsupported

Pub/Sub capability

Yes

Yes

No

Backup and restore (keep your data on disk with a point in time snapshot)

Supported

Supported

Unsupported

Lua Scripting (execute transactional Lua scripts)

Supported

Supported

Unsupported

Use case

  • You need to partition your data across two to 250 or 500 nodes if the Redis engine version is 5.0.6 or higher.(clustered mode only).

  • You need geospatial indexing (clustered mode or non-clustered mode).

  • You don’t need to support multiple databases.

  • Plus features of non-clustered mode
  • You need complex data types, such as strings, hashes, lists, sets, sorted sets, and bitmaps.

  • You need to sort or rank in-memory datasets.

  • You need persistence of your key store.

  • You need to replicate your data from the primary to one or more read replicas for read intensive applications.

  • You need automatic failover if your primary node fails.

  • You need pub/sub capabilities.

  • You need backup and restore capabilities.

  • You need to support multiple databases.
  • You need the simplest model possible.

  • You need to run large nodes with multiple cores or threads.

  • You need the ability to scale out and in, adding and removing nodes as demand on your system increases and decreases.

  • You need to cache objects, such as a database.

  • Needs Auto Discovery to simplify the way an application connects to a cluster.

redis replication

Note: If you are studying for the AWS Certified Database Specialty exam, we highly recommend that you take our AWS Certified Database – Specialty Practice Exams and read our Database Specialty exam study guide.

AWS Certified Database Specialty Practice Exams

References:

https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/SelectEngine.html
https://aws.amazon.com/elasticache/redis-vs-memcached/
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Replication.Redis-RedisCluster.html

Get 20% Off – Christmas Big Sale on All Practice Exams, Video Courses, and eBooks!

Tutorials dojo strip

Tutorials Dojo portal

Learn AWS with our PlayCloud Hands-On Labs

Tutorials Dojo Exam Study Guide eBooks

tutorials dojo study guide eBook

FREE AWS Exam Readiness Digital Courses

FREE AWS, Azure, GCP Practice Test Samplers

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

Follow Us On Linkedin

Recent Posts

Written by: Jon Bonso

Jon Bonso is the co-founder of Tutorials Dojo, an EdTech startup and an AWS Digital Training Partner that provides high-quality educational materials in the cloud computing space. He graduated from Mapúa Institute of Technology in 2007 with a bachelor's degree in Information Technology. Jon holds 10 AWS Certifications and is also an active AWS Community Builder since 2020.

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers Check out our FREE courses

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?