NN_PIPELINE(7)
π NN_PIPELINE(7) π
okay bestie, sit down, hydrate, and let me tell you about nn_pipeline β it's a scalability protocol from the nanomsg manual, and it's literally the "pass the task down the line" protocol. The whole vibe is: take a task, hand it off through a bunch of processing steps, and let each step be its own little station. π
β¨ NAME β¨
nn_pipeline β the scalability protocol for passing tasks through a series of processing steps. it's giving assembly line but make it sockets. πβ¨
β¨ SYNOPSIS β¨
#include <nanomsg/nn.h>
#include <nanomsg/pipeline.h>
yes queen, two includes, both of them, don't skip the second one. π
β¨ DESCRIPTION β¨
so here's the tea π΅: it fair queues messages coming from the previous processing step, and then load balances them among all the instances of the next processing step. that's the whole personality. messages in, spread them out evenly, done. iconic behavior honestly. π
π¦ Socket Types π¦
NN_PUSHβ this socket is your sender girlie. you use it to send messages to a whole cluster of load-balanced nodes. the catch? receive operation is NOT implemented on this socket type. so don't even try it. it does not receive. it pushes. periodt. πNN_PULLβ this one is the receiver. it's how you receive a message from a cluster of nodes. and send operation is NOT implemented on this socket type. so yeah, it only pulls. no sending. respect the boundaries bestie. π
πΈ Socket Options πΈ
No protocol-specific socket options are defined at the moment.
like, none. zero. the option list is empty, that's not me being lazy, that's the actual manpage. nothing to see here. moving on. π
β¨ SEE ALSO β¨
go read these too, they're all part of the family:
β¨ AUTHORS β¨
Martin Sustrik <sustrik@250bpm.com> β the icon, the legend, the one who wrote this. give them their flowers. ππ
okay that's the whole page, you're officially educated. this one came out of nanomsg version 1.2.2, dated 2026-01-16, and you can find it filed under NN_PIPELINE(7). go forth and pipeline responsibly, bestie. no cap. π«Άπβ¨
π¦ where this page comes from
- fedora 44: nanomsg-devel 1.2.2-2.fc44 Β· MIT
- fedora 44: nanomsg-devel 1.2.2-2.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms