Memcached vs Redis (2026)
Memcached is a simple, multithreaded key-value cache. Redis adds rich data structures (lists, sets, sorted sets, streams), persistence, replication and pub/sub.
ASK AI ABOUT THIS COMPARISON
Memcached vs Redis: at a glance
License, pricing and platform facts, checked against each project's own site and docs.
| Fact | Memcached | Redis |
|---|---|---|
| Best for | Simple, very fast key-value caching when you do not need Redis data structures. | The in-memory data store behind most caching, session, queue and pub/sub setups, now offered under source-available licences and AGPLv3. |
| License | Open Source | Open Source |
| Pricing | Open Source | Freemium |
| Platforms | Linux, macOS | Linux, macOS, Docker, Cloud |
What Memcached and Redis do
Who each tool is built for, with links to its site, its LaunchNests listing and its alternatives.
Memcached
Open Source · Open Source
Simple, very fast key-value caching when you do not need Redis data structures.
Redis
Open Source · Freemium
The in-memory data store behind most caching, session, queue and pub/sub setups, now offered under source-available licences and AGPLv3.
Memcached or Redis: which should you choose?
The situations where each tool is the better fit.
Choose Memcached if
- You only need a volatile cache of strings or blobs.
- You want very simple multithreaded scaling on large cache nodes.
Choose Redis if
- You need data structures, persistence, pub/sub or queues as well as caching.
- You want one in-memory store for sessions, rate limits and leaderboards.
Frequently asked questions
Straight answers to common questions about Memcached and Redis.
What is the difference between Memcached and Redis?
Memcached is a simple, multithreaded key-value cache. Redis adds rich data structures (lists, sets, sorted sets, streams), persistence, replication and pub/sub.
Is Memcached or Redis open source?
Memcached is open source, and Memcached is free and open source. Redis is open source, and Redis is free to start, with paid plans as you grow.
When should I choose Memcached over Redis?
You only need a volatile cache of strings or blobs. You want very simple multithreaded scaling on large cache nodes.
When is Redis the better choice?
You need data structures, persistence, pub/sub or queues as well as caching. You want one in-memory store for sessions, rate limits and leaderboards.
Which platforms do Memcached vs Redis support?
Memcached: Linux, macOS. Redis: Linux, macOS, Docker, Cloud.
More comparisons
Other head-to-head comparisons involving Memcached or Redis.
- Redis vs Valkey →Valkey is the Linux Foundation fork of Redis 7.2 under the BSD licence, with the same protocol and commands for most workloads. Redis continues with new features such as Redis Stack modules, under its own licences, including AGPLv3 since Redis 8.
- Dragonfly vs Redis →Dragonfly is a multithreaded, Redis- and Memcached-compatible store designed to use every core of one large machine. Redis is single-threaded per shard and scales out with clustering, with a far larger ecosystem.
- KeyDB vs Redis →KeyDB is a multithreaded fork of Redis with active-active replication between replicas. Redis has a much more active release cadence and ecosystem.