Architecture

Standalone

Redis standalone architecture
  • If the node stops, Redis is unavailable; persistence decides what returns after restart.

Master / Replicas

Redis master and replicas architecture
  • Replication is asynchronous, so replicas can return stale data.
  • Failover can lose writes that were acknowledged before reaching a replica.

Sentinel — Client-side discovery

Redis Sentinel client-side discovery architecture
  • Clients must discover the new master and reconnect; commands can fail during the switch.

Sentinel — Services

Redis Sentinel service routing architecture
  • Role-aware readiness or endpoint integration must route the write Service to the current master and the read Service to replicas.
  • In-flight commands can fail while routing changes.

Cluster

Redis Cluster architecture with three masters and three replicas
  • The 16,384 hash slots are split across three masters with one asynchronous replica each, and cluster-aware clients follow MOVED and ASK to the slot owner.
  • A failed master can promote its replica; losing both makes that master's slots unavailable.
  • Acknowledged writes can be lost if the master fails before its replica receives them.