Best practice for variables shared between processes?

Simon Wistow simon at thegestalt.org
Sat Sep 25 23:10:38 BST 2010


On Sat, Sep 25, 2010 at 10:16:40PM +0100, Mark Fowler said:
> On Wed, Sep 22, 2010 at 5:51 PM, Simon Wistow <simon at thegestalt.org> wrote:
> 
> > Redis doesn't have queues (i.e deliver to only one subscriber), it only
> > has topics (deliver to all subscribers).
> 
> Can't I just BLPOP?
> 
> http://code.google.com/p/redis/wiki/BlpopCommand

You can fake it using BLPOP I think. Although my patch has the advantage 
that clients can listen for both topics and queues on the same key 
whereas with BLPOP you can't




More information about the london.pm mailing list