redtrine/redtrine — pull request #5 by jvalduvieco (2013-02-12 10:25:34+00:00)
Title: Add BRPOPLPUSH and RPOPLPUSH to Queues

These commands are usefull when creating reliable queues. There is a pending job queue and each worker has it's WIP queue. If a worker dies, it's successor can check it's WIP queue for unfinished jobs.
Added the blocking variant (BRPOPLPUSH) to avoid polling.