Picking the Right DB15 min read
How Redis Actually Deletes Expired Keys — The Lazy + Active Hybrid You Didn't Know About
A senior-engineer walkthrough of how Redis really handles TTLs. Why TTL=0 doesn't free memory. The two strategies — lazy (on-access) and active (the random-sample-and-25%-threshold sampler).