Redis and Memcached both keep data in memory and answer in key-value style, which is why they are compared so often. In practice they solve different-sized problems. Memcached describes itself as a distributed memory object caching system: a multithreaded key-value cache for things like query results, API responses and rendered fragments. Its README is clear that it is a cache, not a database, and that it should never go to disk. The latest version is 1.6.45, with release notes dated 9 July 2026, and the repository is BSD-3-Clause.
Redis calls itself a data structure server. Beyond strings it supports hashes, lists, sets, sorted sets, streams, geospatial indexes, JSON, time series, probabilistic types such as Bloom filters and HyperLogLog, and vector sets for similarity search. It can also write data to disk with RDB snapshots, an append-only file, or both, and since 8.10 a BACKUP command family produces online backups. The latest stable release is 8.10.3.
Redis licensing has changed twice. Versions up to 7.2 were BSD-3-Clause. Redis Community Edition 7.4 to 7.8 moved to a choice of RSALv2 or SSPLv1. From Redis 8, Redis Open Source lets you choose RSALv2, SSPLv1 or AGPLv3. Valkey, a BSD-3-Clause fork made just before the first licence change, is run under the Linux Foundation's LF Projects.
Redis also sells a managed service. As of November 2026 Redis Cloud has a free 30 MB database, Essentials from $5 a month and Pro from $0.014 an hour with a $200 monthly minimum.
How they compare
| Aspect | Redis | Memcached |
|---|---|---|
| Purpose | Data structure server used as cache, queue, store and more. | Pure in-memory key-value cache. |
| Data types | Strings, hashes, lists, sets, sorted sets, streams, JSON, time series, vector sets. | Key-value items only. |
| Persistence | RDB snapshots, AOF, both or none. | None; data lives in RAM only. |
| Licence | RSALv2, SSPLv1 or AGPLv3 from Redis 8; 7.2 and earlier BSD-3. | BSD-3-Clause. |
| Latest release | 8.10.3 stable; 8.12 in release candidates. | 1.6.45 (July 2026). |
| Managed service | Redis Cloud: Free 30 MB, Essentials from $5 a month, Pro from $0.014 an hour. | No official managed service listed on memcached.org. |
| Open fork | Valkey (BSD-3, Linux Foundation) if you want the old licence terms. | Not applicable. |
Choose Redis if…
- You need data structures beyond plain keys and values
- You want the option to persist data to disk
- You want streams, queues or vector search in the same server
- You want an official managed cloud
Choose Memcached if…
- You only need a simple cache in front of a database
- You want a permissive BSD licence with no history of changes
- You prefer a smaller tool with fewer moving parts
- Losing the cache on restart is acceptable
Researched November 2026 from each product's official documentation and pricing pages. Prices and features change often, so check the vendors' sites before you decide.
Sources
- redis.io /legal/licenses
- redis.io /docs/latest/develop/data-types
- redis.io /docs/latest/operate/oss_and_stack/management/persistence
- github.com /redis/redis/releases
- redis.io /pricing
- memcached.org
- github.com /memcached/memcached
- github.com /valkey-io/valkey