Pub/sub is great for events if you have something listening, but not so great if you care about a historical record of the data if no one happens to be subscribed at the time. For such a use case, lists are better suited combined with a worker-style implementation via BRPOP.
Would be neat to have the ability to push to, and pop off, lists.
Pub/sub is great for events if you have something listening, but not so great if you care about a historical record of the data if no one happens to be subscribed at the time. For such a use case, lists are better suited combined with a worker-style implementation via BRPOP.
Would be neat to have the ability to push to, and pop off, lists.
(LPUSH and LRANGE)