Over a million developers have joined DZone.

Nanomsg, the Next Gen ZeroMQ, is Here

DZone's Guide to

Nanomsg, the Next Gen ZeroMQ, is Here

Free Resource

Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale

Martin Sustrik, one of the co-creators of ZeroMQ, has been working on a new messaging library called Nanomsg to surpass the lightweight power of ZeroMQ.  You could almost think about Nanomsg as ZeroMQ–the sequel.

nanomsg library is a high-performance implementation of several "scalability protocols". Scalability protocol's job is to define how multiple applications communicate to form a single distributed application. Implementation of following scalability protocols is available at the moment:

   •   PAIR - simple one-to-one communication
   •   BUS - simple many-to-many communication
   •   REQREP - allows to build clusters of stateless services to process user requests
   •   PUBSUB - distributes messages to large sets of interested subscribers
   •   FANIN - aggregates messages from multiple sources
   •   FANOUT - load balances messages among many destinations
   •   SURVEY - allows to query state of multiple applications in a single go

-- nanomsg.org

This week, Sustrik introduced the very first public release of Nanomsg – alpha version 0.1.

Nanomsg supports INPROC, IPC and TCP protocols.  It is also released under the more permissive MIT-license, which is a big part of why Sustrik wanted to break off from the ZeroMQ project. 

Check out his announcement on freelists.org, which outlines the new features compared to ZeroMQ. 

Unleash the power of your APIs with future-proof API management - Create your account and start your free trial today, brought to you in partnership with 3scale.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}