Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

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.

Tagged , ,

3 comments

  1. Hey, that post leaves me fleieng foolish. Kudos to you!

    Caelii - 16th August 2011 11:19 - #

  2. I will recommend my friends to read this. Bottes UGGI am quite sure they will UGG Pas Cher learn lots of new stuff here than anybody else!

    ugg pas cher - 29th October 2011 02:47 - #

  3. Excellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that: Thanks for lunch! Balloons

    Groundless - 1st November 2011 06:47 - #

Comments are closed.
A django site