[nanomsg] NNG 0.8.0 available.

  • From: "Garrett D'Amore" <garrett@xxxxxxxxxx>
  • To: "nanomsg@xxxxxxxxxxxxx" <nanomsg@xxxxxxxxxxxxx>
  • Date: Thu, 12 Apr 2018 16:43:29 +0000

Hello everyone,

I’ve just released version 0.8.0 of NNG.   Here are the release notes from
the release (note also that the book on Leanpub and the docs on the site
have been updated as well):

This release has what should be the final breaking API changes prior to
1.0. Specifically, the RAW mode sockets are no longer established by
NNG_OPT_RAW -- which has become a read-only option, but are instead created
by new constructors, such as nng_req0_open_raw().

Additionally, this release introduces a major new capability -- contexts.
The details of this are located in the nng_ctx(5) manual page, as well as
an example. An example showing the use of contexts with the HTTP server API
to create a REST API to REQ/REP gateway exists in the demo/rest directory.
At the moment contexts are only available for REQ and REP protocols --
addition of support for contexts with SURVEYOR and RESPONDENT is planned
for the next release.

Note that users of the REQ and REP protocols may notice differences in
behavior around queueing and flow control -- in particular REQ will
probably apply backpressure now, so that attempts to send requests will
block if there are no pipes available (and the pollable status will reflect
this.)

Significant performance improvements have been made -- users may see up to
20% better performance compared to 0.7.0, depending on numerous factors.
More work in this area is still planned.

A number of other issues (bugs) have been fixed as well.

We would be especially grateful for any extra testing, especially of the
REQ and REP protocols and the new context facility.

Other related posts:

  • » [nanomsg] NNG 0.8.0 available. - Garrett D'Amore