Wukong Talks Architecture
Jul 29, 2021 · Databases
Redis Expired Key Deletion Strategies: Lazy Deletion and Periodic Deletion
The article explains Redis's two expiration key removal mechanisms—lazy deletion, which removes keys only when accessed, and periodic deletion, which randomly scans and deletes expired keys at regular intervals—detailing their concepts, pros, cons, and underlying source‑code implementations.
Active ExpireDatabaseLazy Deletion
0 likes · 4 min read