Redis is faster than BeanStalkd, a tiny message queue server written in C that uses libevent and a simple memcached-like protocol. Redis kicks ass, specially the beta versions.
Redis is faster than BeanStalkd, a tiny message queue server written in C that uses libevent and a simple memcached-like protocol. Redis kicks ass, specially the beta versions.
Also, Redis is a centralized server and a single point of failure - 0MQ doesn't force you into that topology.
That said, I'd still like to see benchmarks showing Redis beating Beanstalkd. Of the two, I've only used Beanstalkd, but it's a great example of keeping things simple while still providing advanced functionality.
_
People have modeled message queues with far more primitive solutions:
http://www.freeopenbook.com/php-hacks/phphks-CHP-5-SECT-18.h...
A Redis based solution might not be as elaborate as RabbitMQ, but it will be very clean and straightforward, not to mention blindingly fast, and will get the job done.
That said, I'm not really in the mood to reinvent that particular wheel myself here, but would probably give someone else's shot a try.
Sure, the Redis C codebase is fairly approachable. Perhaps you were suggesting adding new protocol commands?
Does redis has any job queue facilities for making a reliable, low-latency, safe job queue?
http://www.rockstarprogrammer.org/post/2008/oct/04/what-matt...
It's not interesting to discuss what you can use to hack a queue together. Lots and lots of really badly thought out queue services exist today built on top of memcached or a relational database or other things that appear to work in normal cases, but can go horribly wrong and start losing data when bad things happen.