[zeromq-dev] Are socket thread restrictions still in force?

Matt Weinstein mattweinstein at gmail.com
Fri Aug 6 16:04:34 CEST 2010


Folks,

I'm building a communications platform around zmq_reactor, which  
heartbeats multiple TCP connections and manages failover to "live"  
servers.

But -- the sole worker thread has to do connects / reconnects due to  
the current restriction that sockets are bound to threads.  This could  
cause "slight" latencies :-(

The alternative I'm planning on using for the moment is ZMQ_PAIR  
sockets and a new service thread per TCP connection.  Ouch.

Is this restriction still in place?

Any other solutions ?

Can a zmq_connect be migrated?

RSVP,

Thanks,

Best,

Matt

NB Martin S. please don't flush your whole cache for this. Maybe one  
line or so .. :-)




More information about the zeromq-dev mailing list