[zeromq-dev] Load balancing & PGM

Martin Sustrik sustrik at fastmq.com
Mon Mar 30 09:39:59 CEST 2009


Steven,

> Unless I'm mistaken accept() will require a packet from the sender to
> initiate a new session which should be handled as an asynchronous
> event, this depends on the architecture of zeroMQ above the PGM
> sockets.
> 
> To handle session changes would need a thread waiting on accept() for
> future sessions with some mechanism to terminate the current running
> socket.

This is on the roadmap already (ZMQ-204), still, won't listening socket 
signal POLLIN only if a new packet arrives? If so, the accept should be 
immediate.

Martin




More information about the zeromq-dev mailing list