2 ms·
Yes, it does. See the LPOPRPUSH and BLPOP protocol commands. There's a number of threads on the Redis Google Group about using Redis as a job queue. There's
by z8000 17y ago
Yes, it does. See the LPOPRPUSH and BLPOP protocol commands. There's a number of threads on the Redis Google Group about using Redis as a job queue. There's also Resque by a githubber.
http://github.com/defunkt/resque http://github.com/defunkt/resque
- dlsspy 17y agoRPOPLPUSH does about half of what's needed and BLPOP does the other half, but neither does the whole job. 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.