Classic pub/sub broadcasts to every node on every publish, which does not scale in a cluster and is the reason sharded channels exist. Choosing a channel name that…
ACL v1 gave one key pattern for all permitted commands; selectors let a user read one prefix and write another. ACL DRYRUN is the command that makes this…
The simpler stampede fix is a lock, and it converts a burst of computation into a burst of waiting. Serving stale is nearly always the right branch and…
A retry limit lives in the consumer and resets when the consumer restarts, so a message that crashes the process is retried forever. A message that kills the…
KEYS blocks the server for the duration of a full keyspace walk, and Redis is single-threaded, so it blocks everything. The at-least-once guarantee means any script acting on…
A Redis stream consumer group tracks messages delivered and not acknowledged, and that list is where a crashed consumer’s work sits. A pending count that grows without bound…