BLPOP and BRPOP in Redis. Added over Christmas—Redis now has blocking list pop operations. This means you can use Redis to drive a queue server without the need for polling—simply BLPOP against a key and, if it’s empty, your client will block until another client pushes an item on to the list. Multiple clients can block against the same key and only the first client will return when an item becomes available.
Hey, that post leaves me fleieng foolish. Kudos to you!
Caelii - 16th August 2011 11:19 - #
ugg pas cher - 29th October 2011 02:47 - #
Groundless - 1st November 2011 06:47 - #