Advantages of ØMQ
It’s fair to ask why we’d use ØMQ for messaging, as opposed to writing everything ourselves. The answer is that the Node community believes in the Unix philosophy: “do one thing well.” The committers keep the Node core small and tight, leaving everything else to the broader base of developers who publish their modules through npm.
Although the Node.js core has great, low-level support for binding and connecting to sockets, it leaves out higher-level messaging patterns. ØMQ’s purpose is to expose high-level messaging patterns and take care of many low-level networking concerns for you. Take the following examples:
-
ØMQ endpoints automatically reconnect if they become unhitched for any reason—like if there’s a hiccup in the network ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access