Using Nanomsg instead of ZeroMQ
21.02.2017
A Look at Nanomsg and Scalability Protocols (Why ZeroMQ Shouldn't Be Your First Choice) really nails it (and also provides a great overview). After having had continued issues with ZeroMQ 's thread management during teardown, I gave Nanomsg a try. I managed to quickly get the necessary rewrite done and all issues instantly went away.
I'm aware of the fact that Nanomsg is dead now , but the existing code does work nevertheless.