# Redis Open Source

Redis Open Source cache and key\-value software with documented persistence and substitution limits\.

ID: Q942 · Revision: 990

Type: software · License: Redis 8\+: choice of AGPLv3, SSPLv1 or RSALv2; earlier releases have different terms[^redis-license] · Status: active

Website: https://redis.io/



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\.[^redis-readme]

## Cache versus durable state

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\.[^redis-persistence]

## Replication and failover

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\.[^redis-replication]

## Messaging semantics

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\.[^redis-pubsub]

## Version\-specific licensing

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\.[^redis-license]

## Substitution considerations

Redis Open Source can substitute for [Memcached](/memcached) 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\.[^redis-readme][^redis-persistence][^memcached-about]

## Capabilities and substitutions

### Native application data structures — supported

Provides collections, counters, scripting and other data\-structure operations\.[^redis-readme]

Use case: Application caching and key\-value operations · Platforms: Self\-hosted servers, Containers · Region: Deployment, release, command and persistence requirements apply

### Replica acknowledgement guarantees — limited

WAIT does not establish strong consistency or eliminate failover loss\.[^redis-replication]

Use case: Application caching and key\-value operations · Platforms: Self\-hosted servers, Containers · Region: Deployment, release, command and persistence requirements apply

### [Substitute for Memcached](/memcached) — limited

Assessment: replaces caching with Redis client integration and reviewed expiration, eviction and persistence choices; not wire\-protocol compatible\.[^redis-readme][^redis-persistence][^memcached-about]

Use case: Application value caching · Platforms: Self\-hosted servers, Containers · Region: Deployment, release, command and persistence requirements apply

## References

[^redis-license]: [redis license](<https://github.com/redis/redis/blob/unstable/LICENSE.txt>) — Applicable license terms and version scope (vendor; retrieved 2026-10-07T02:15:36Z)

[^redis-readme]: [redis project overview](<https://github.com/redis/redis/blob/unstable/README.md>) — Project scope, deployment and data structure capabilities (vendor; retrieved 2026-10-07T02:15:27Z)

[^redis-persistence]: [Redis persistence](<https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/>) — RDB versus AOF, synchronization policy and data\-loss tradeoffs (vendor; retrieved 2026-10-07T02:15:45Z)

[^redis-replication]: [Redis replication](<https://redis.io/docs/latest/operate/oss_and_stack/management/replication/>) — Asynchronous replication and WAIT limits (vendor; retrieved 2026-10-07T02:16:01Z)

[^redis-pubsub]: [Redis Pub/Sub](<https://redis.io/docs/latest/develop/pubsub/>) — At\-most\-once delivery and distinction from streams (vendor; retrieved 2026-10-07T02:16:31Z)

[^memcached-about]: [About Memcached](<https://memcached.org/about>) — Distributed application cache and database\-load reduction (vendor; retrieved 2026-10-07T02:16:09Z)

Source revision: https://substitutefor.net/entities/Q942?revision=990
