Storing Bounded Timeboxes in Redis
If you’re doing analytics, reports or dealing with memory constraints in Redis, you’re probably dealing with keeping two sorted-sets mutually consistent. This article also takes a look at using multi/exec to keep it fresh.
lethain.com