[zeromq-dev] Forwarder stops forwarding

Martin Sustrik sustrik at 250bpm.com
Wed Jun 16 15:08:41 CEST 2010


Robin Weisberg wrote:

> My vote would be to just keep it simple. Debugging and reading a
> tcpdump will be more confusing if you have to figure out why a
> heartbeat was/wasn't sent based on fancy heuristics.

Understood.

> I like the idea of sending if there hasn't been any other message
> sent in the past X milliseconds and make X a socket option.

That can backfire in case of large messages. If timeout is 1 sec and 
transfer of 10GB messages takes 10 secs. The connection would timeout 
during the message transmission.

Martin



More information about the zeromq-dev mailing list