Usecase: RestMQ - A Redis-based Message Queue
I have found the attached presentation introducing RestMQ, a HTTP/REST/JSON message queue quite interesting for the tools it is using:
- Redis as the storage of the queue messages
- Redis LIST, SET and Ordered SET data types make it easy to be used for this usecase
- my note: not sure the project is also using the some of the blocking operations available on lists to simulate the queues[1]
- async client with support for connection pooling and client-side sharding[2]
- Cyclone[3]: a Twisted based Tornado[4] clone
RestMQ source code is available on ☞ GitHub
References
- [1] ☞ BLPOP and BRPOP (↩)
- [2] ☞ txredisapi: async Python client (↩)
- [3] ☞ Cyclone (↩)
- [4] ☞ Tornado (↩)