You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.
Jyotman Singh edited this page May 5, 2017
·
3 revisions
1.
Q: I'm confused, I see MQTT everywhere, I've seen mosquito mqtt, I've seen RabbitMQ, and then you throw Redis, Mongo, Mosquitto, ZeroMQ etc). What is the purpose of mosca anyway?
A: Mosca is an effort to implement the MQTT protocol (similar to the way mosquitto does) but this time using node.js. To do that there was a need for a pub/sub service, and so ascoltatore was brought into the equation. Ascoltatore supports many kind of pub/sub providers, and so you can run mosca with any of the supported pub/sub providers.
Details about each:
- Mosquitto IS a mqtt broker and does pretty much the same mosca does, but not with node
- RabbitMQ implements the mqtt protocol, albeit in Mosca it supports AMQP.
- MongoDB and Redis do NOT implement the MQTT protocol, but are used as pub/sub services in order to help mosca provide MQTT.