Redis: persistence, replication, Sentinel and Cluster
How Redis keeps data across restarts with RDB, AOF or both; what asynchronous replication loses on failover; how Sentinel elects a new master; how Cluster splits data into 16,384 hash slots, redirects with MOVED/ASK and restricts multi-key commands. Plus how to choose a deployment mode.