Need advice about which tool to choose?Ask the StackShare community!
RSMQ vs Samza: What are the differences?
Developers describe RSMQ as "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. On the other hand, Samza is detailed as "A distributed stream processing framework". Samza allows you to build stateful applications that process data in real-time from multiple sources including Apache Kafka.
RSMQ and Samza belong to "Message Queue" category of the tech stack.
Some of the features offered by RSMQ are:
- Lightweight: Just Redis and ~500 lines of javascript.
- Guaranteed delivery of a message to exactly one recipient within a messages visibility timeout.
- Received messages that are not deleted will reappear after the visibility timeout.
On the other hand, Samza provides the following key features:
- HIGH PERFORMANCE
- HORIZONTALLY SCALABLE
- EASY TO OPERATE
RSMQ and Samza are both open source tools. RSMQ with 1.1K GitHub stars and 83 forks on GitHub appears to be more popular than Samza with 565 GitHub stars and 243 GitHub forks.
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