Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

ZeroMQ is amazing. The last few months I have been using it for all kinds of things -- from creating multiprocessing Python apps to replacing an HTTP REST backend with a high-performance ZeroMQ server.


How does this compare to XMPP? Are there any benefits to learning ZeroMQ for web notifications over using, say Strophe.js?


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


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


0MQ allows to interconnect components directly. There's no need for a messaging server.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: