[zeromq-dev] server to server messaging
sustrik at fastmq.com
Tue Apr 7 10:38:23 CEST 2009
> Thanks, I'll create an account let you know.
> I don't think even libevent supports edge triggered polling. Do you
> think this'll make a big improvement?
I wouldn't expect it to be much of an improvement. That's why the
priority is low. It's 'nice to have' feature but the amount of details
that can go wrong vs. slight performance improvement it'll yield makes
the value of the change dubious.
If you are interested in doing something low level there's ZMQ-204 for
example. It's not necessarily a bug, but it's something we've never
really tested. The question is: If one application connects to another
one and sends RST before the connection is accepted, will it work ok? I
would expect it to hang up. The listener socket is a blocking one, so
accept will hang till another connect attempt occurs. If so, it can
block whole I/O thread for an indefinite amount of time. It's very rare
situation, but a nasty one.
More information about the zeromq-dev