[zeromq-dev] ZeroMQ + InetD = Why can't we all just get along.

Shane Spencer shane at bogomip.com
Thu Nov 8 22:38:35 CET 2012

I've pestered IRC a few times and confused a few individuals along the
way.  One of my personal project goals is to spin up workers via InetD
by simply connecting to them.  I understand I can use daemontools to
approach this in a more structured way.

Once a worker spins up, in my situation, they will be immediately told
initial information.  This can be done via STDIN and using standard
sockets easily enough, but I'd love to simply bind to FD 0 and skip
using sockets all together for that initial connection.

This of course leads to doing all sorts of strange things.  Piping
between ZeroMQ based applications for example all the while utilizing
a very useful wire level protocol.

So I guess I have two questions, we can throw the first one away immediately:

1) Will ZeroMQ ever love a file descriptor?  I understand this changes
how IO polling happens substantially.

2) Is there any direct method in PyZMQ to speak the wire level
protocol using generic buffers?

Thanks for hopefully positive feedback.

- Shane

More information about the zeromq-dev mailing list