3 ms·
Didn't know about the Prosody module. However, MQTT in ejabberd is at the core level, not module, so it is able to access all the performance and scalability fe
by f055 8y ago
Didn't know about the Prosody module. However, MQTT in ejabberd is at the core level, not module, so it is able to access all the performance and scalability features used by XMPP - and in that sense, ejabberd MQTT is production-ready.
I think the surprising behaviours of MQTT are its strength - it's minimal and perfect for low-energy devices. For heavy lifting, there's XMPP.
- MattJ100 8y agoNot sure what you mean by "at the core level", exactly. Prosody is quite modular, and everything is implemented as a module with access to the same APIs. Modules do not have performance limitations. I know ejabberd's architecture less well though. Our internal XMPP pubsub (XEP-0060) support has a native code API designed for use by internal modules, so there is no need to marshal everything from MQTT into the appropriate XMPP stanzas for example, it's a direct mapping from MQTT to our internal API.
- mickael 8y agoWhen you talk about MQTT and IoT, scalability and clustering is the deciding factor. When you deploy an IoT stack, it is common to have to manage hundreds of thousands or millions of devices. The stack is leveraging ejabberd clustering and scalability.