Need advice about which tool to choose?Ask the StackShare community!

Mosca

16
43
+ 1
0
RSMQ

4
86
+ 1
6
Add tool

Mosca vs RSMQ: What are the differences?

What is Mosca? A Node.js MQTT broker. A Node.js MQTT broker, which can be used as a Standalone Service or embedded in another Node.js application.

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.

Mosca and RSMQ can be categorized as "Message Queue" tools.

Some of the features offered by Mosca are:

  • MQTT 3.1 and 3.1.1 compliant
  • QoS 0 and QoS 1
  • Various storage options for QoS 1 offline packets, and subscriptions

On the other hand, RSMQ provides the following key features:

  • 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.

Mosca and RSMQ are both open source tools. Mosca with 2.84K GitHub stars and 501 forks on GitHub appears to be more popular than RSMQ with 1.07K GitHub stars and 78 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Mosca
Pros of RSMQ
    Be the first to leave a pro
    • 2
      Simple, does one thing well
    • 1
      Comes with a visibility timeout feature similar to AWS
    • 1
      Written in TypeScript
    • 1
      Written in Coffeescript
    • 1
      Backed by Redis

    Sign up to add or upvote prosMake informed product decisions

    - No public GitHub repository available -

    What is Mosca?

    A Node.js MQTT broker, which can be used as a Standalone Service or embedded in another Node.js application.

    What is RSMQ?

    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.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Mosca?
    What companies use RSMQ?
    See which teams inside your own company are using Mosca or RSMQ.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Mosca?
    What tools integrate with RSMQ?
    What are some alternatives to Mosca and RSMQ?
    Mosquitto
    It is lightweight and is suitable for use on all devices from low power single board computers to full servers.. The MQTT protocol provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for Internet of Things messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers.
    Kafka
    Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
    RabbitMQ
    RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
    Amazon SQS
    Transmit any volume of data, at any level of throughput, without losing messages or requiring other services to be always available. With SQS, you can offload the administrative burden of operating and scaling a highly available messaging cluster, while paying a low price for only what you use.
    Celery
    Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.
    See all alternatives