A script runs to completion with nothing interleaved, which is exactly why it is useful and exactly why a slow one is an outage. The atomicity removes the…
Counting the intersection of two large sets meant building the intersection first, which allocates a set you immediately discard. The LIMIT is the part that changes what is…
Duplicating a key used to mean serialising it out and back in, which moved the whole value through the client for no reason. Staying server-side matters for a…
Redis stream ids are a millisecond timestamp plus a sequence number, which means a time range is a key range and needs no secondary index. Constructing an id…
An entry delivered to a consumer and never acknowledged stays in the pending list indefinitely, which is what makes recovery possible and what leaks if nothing sweeps it.…
The tests need MySQL and Redis, and CI gives you an empty machine. Service containers, where they differ from compose, and the readiness nothing does for you.
The command permissions get the attention and the key pattern is where the actual isolation lives, because a service with write access to every key is not isolated…