{"schemaVersion":"1.0","record":{"label":"Redis Open Source","description":"Redis Open Source cache and key-value software with documented persistence and substitution limits.","aliases":["Redis","Redis Community Edition"],"kind":"software","website":"https://redis.io/","overview":"Redis Open Source is an in-memory data-structure server used for caching, session data, counters, queues and other application state. It offers structures such as strings, hashes, sets, sorted sets and streams, with scripting and transactions. The open-source distribution is distinct from Redis's separately offered managed cloud and enterprise software products.","license":"Redis 8+: choice of AGPLv3, SSPLv1 or RSALv2; earlier releases have different terms","lifecycle":"active","example":false,"features":[{"name":"Native application data structures","status":"supported","detail":"Provides collections, counters, scripting and other data-structure operations.","useCase":"Application caching and key-value operations","platforms":["Self-hosted servers","Containers"],"region":"Deployment, release, command and persistence requirements apply","evidence":[{"url":"https://github.com/redis/redis/blob/unstable/README.md","locator":"Project scope, deployment and data structure capabilities","retrievedAt":"2026-10-07T02:15:27Z","kind":"vendor"}]},{"name":"Replica acknowledgement guarantees","status":"limited","detail":"WAIT does not establish strong consistency or eliminate failover loss.","useCase":"Application caching and key-value operations","platforms":["Self-hosted servers","Containers"],"region":"Deployment, release, command and persistence requirements apply","evidence":[{"url":"https://redis.io/docs/latest/operate/oss_and_stack/management/replication/","locator":"Asynchronous replication and WAIT limits","retrievedAt":"2026-10-07T02:16:01Z","kind":"vendor"}]}],"alternatives":[],"slug":"redis","draftAlternatives":[{"targetSlug":"memcached","status":"limited","detail":"Assessment: replaces caching with Redis client integration and reviewed expiration, eviction and persistence choices; not wire-protocol compatible.","useCase":"Application value caching","platforms":["Self-hosted servers","Containers"],"region":"Deployment, release, command and persistence requirements apply","evidence":[{"url":"https://github.com/redis/redis/blob/unstable/README.md","locator":"Project scope, deployment and data structure capabilities","retrievedAt":"2026-10-07T02:15:27Z","kind":"vendor"},{"url":"https://memcached.org/about","locator":"Distributed application cache and database-load reduction","retrievedAt":"2026-10-07T02:16:09Z","kind":"vendor"},{"url":"https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/","locator":"RDB versus AOF, synchronization policy and data-loss tradeoffs","retrievedAt":"2026-10-07T02:15:45Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/redis/redis/blob/unstable/README.md","locator":"Project scope, deployment and data structure capabilities","retrievedAt":"2026-10-07T02:15:27Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/redis/redis/blob/unstable/LICENSE.txt","locator":"Applicable license terms and version scope","retrievedAt":"2026-10-07T02:15:36Z","id":"redis-license","title":"redis license","kind":"vendor"},{"url":"https://github.com/redis/redis/blob/unstable/README.md","locator":"Project scope, deployment and data structure capabilities","retrievedAt":"2026-10-07T02:15:27Z","id":"redis-readme","title":"redis project overview","kind":"vendor"},{"url":"https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/","locator":"RDB versus AOF, synchronization policy and data-loss tradeoffs","retrievedAt":"2026-10-07T02:15:45Z","id":"redis-persistence","title":"Redis persistence","kind":"vendor"},{"url":"https://redis.io/docs/latest/operate/oss_and_stack/management/replication/","locator":"Asynchronous replication and WAIT limits","retrievedAt":"2026-10-07T02:16:01Z","id":"redis-replication","title":"Redis replication","kind":"vendor"},{"url":"https://redis.io/docs/latest/develop/pubsub/","locator":"At-most-once delivery and distinction from streams","retrievedAt":"2026-10-07T02:16:31Z","id":"redis-pubsub","title":"Redis Pub/Sub","kind":"vendor"},{"url":"https://memcached.org/about","locator":"Distributed application cache and database-load reduction","retrievedAt":"2026-10-07T02:16:09Z","id":"memcached-about","title":"About Memcached","kind":"vendor"}],"overviewCitations":["redis-readme"],"licenseCitations":["redis-license"],"sections":[{"id":"persistence","heading":"Cache versus durable state","paragraphs":[{"id":"persistence-detail","content":[{"text":"Redis can use periodic RDB snapshots, an append-only log, both mechanisms or no persistence. Snapshot-only recovery can lose writes since the last snapshot, while AOF durability depends on its synchronization policy. These choices distinguish a rebuildable cache from data that an application expects to retain. Merely writing some files to disk does not define the acceptable loss window."}],"citations":["redis-persistence"]}]},{"id":"replication","heading":"Replication and failover","paragraphs":[{"id":"replication-detail","content":[{"text":"Replication is asynchronous by default. WAIT can request acknowledgement from a specified number of replicas, but Redis explicitly states that this does not produce a strongly consistent system. Acknowledged writes can still be lost during failover depending on persistence configuration. Replication, failover orchestration and backups therefore solve related but different operational problems."}],"citations":["redis-replication"]}]},{"id":"messaging","heading":"Messaging semantics","paragraphs":[{"id":"messaging-detail","content":[{"text":"Pub/Sub delivers messages at most once: a disconnected or failing subscriber cannot rely on Redis replaying what it missed. Streams provide a different model with retained messages and additional consumption semantics. Treating every Redis messaging mechanism as a durable queue would hide a major application-level distinction, particularly when replacing an existing broker or event-processing path."}],"citations":["redis-pubsub"]}]},{"id":"license","heading":"Version-specific licensing","paragraphs":[{"id":"license-detail","content":[{"text":"Redis 8 and later offer a choice among AGPLv3, SSPLv1 and RSALv2. The license file separately identifies Redis 7.2 and earlier as remaining under BSD terms. An article or procurement decision that assigns one historical license to every Redis release is therefore incomplete. The selected version, distribution and license option matter independently of wire-protocol familiarity."}],"citations":["redis-license"]}]},{"id":"fit","heading":"Substitution considerations","paragraphs":[{"id":"fit-detail","content":[{"text":"Redis Open Source can substitute for "},{"text":"Memcached","targetSlug":"memcached"},{"text":" for application caching when the application can use Redis clients and the desired expiration and eviction behavior. That is not protocol interchangeability. Redis's additional structures and persistence options can support different requirements, but they also add configuration choices. A comparison should begin with whether cached values can be regenerated and what failure behavior the application can tolerate."}],"citations":["redis-readme","redis-persistence","memcached-about"]}]}]},"id":"Q942","revision":990,"updatedAt":"2026-10-13T16:22:00Z","sourceUrl":"https://substitutefor.net/entities/Q942?revision=990"}}