intermediateReal-World Systems~50 min
TTL & Active Expiry
Expire keys proactively. Build lazy expiry on read, then a Redis-style active sweeper that randomly samples keys with a TTL — instead of a timer per key — and bound its work so it never blocks.