We replaced usage of Unix named pipes with ZeroMQ. The communication overhead is equally not noticeable. And we got additional benefits:
- No limit on the message size.
- Ability to send the messages to remote boxes.
- No need to write our own thread for non-blocking send.
- Ability to receive messages from multiple sources.