Need advice about which tool to choose?Ask the StackShare community!
Disque vs RSMQ: What are the differences?
What is Disque? In-memory, distributed job queue. Disque is an ongoing experiment to build a distributed, in-memory, message broker. Its goal is to capture the essence of the "Redis as a jobs queue" use case, which is usually implemented using blocking list operations, and move it into an ad-hoc, self-contained, scalable, and fault tolerant design, with simple to understand properties and guarantees, but still resembling Redis in terms of simplicity, performance, and implementation as a C non-blocking networked server.
What is RSMQ? A lightweight message queue for Node.js that requires no dedicated queue server. Just a Redis server. tl;dr: If you run a Redis server and currently use Amazon SQS or a similar message queue you might as well use this fast little replacement. Using a shared Redis server multiple Node.js processes can send / receive messages.
Disque and RSMQ can be primarily classified as "Message Queue" tools.
Disque and RSMQ are both open source tools. Disque with 7.37K GitHub stars and 516 forks on GitHub appears to be more popular than RSMQ with 1.07K GitHub stars and 78 GitHub forks.
Pros of Disque
Pros of RSMQ
- Simple, does one thing well2
- Comes with a visibility timeout feature similar to AWS1
- Written in TypeScript1
- Written in Coffeescript1
- Backed by Redis1