4 ms·
How does this compare to XMPP? Are there any benefits to learning ZeroMQ for web notifications over using, say Strophe.js?
by marquis 15y ago
How does this compare to XMPP? Are there any benefits to learning ZeroMQ for web notifications over using, say Strophe.js?
- rumcajz 15y ago0MQ allows to interconnect components directly. There's no need for a messaging server.
- paperwork 15y agoZeroMQ is very low level, compared to XMPP. ZeroMQ considers itself as part of the networking stack: tcp/udp/0mq (or perhaps just above tcp and udp). ZeroMQ and XMPP are not really competitors.
- rwmj 15y agoZeroMQ is more like an interesting sockets library. It's really not very much like AMQP or XMPP. The "Zero" in ZeroMQ means there is no broker (server) between the publisher and the subscribers. Instead what happens is that each process runs a separate thread which deals exclusively with ZeroMQ messaging. Another effect of having no broker is there is no disk persistence at all, so unless you take your own steps you will lose messages if any component crashes.