[erlang-questions] Re: Unicast 20k messages, $500-$1000 bounty
Joel Reymont
joelr1@REDACTED
Fri Jul 17 12:46:03 CEST 2009
The challenge then would seem to be getting under 1s and 2s with a
middleman process, to avoid blocking the send loop. Possible?
On Jul 17, 2009, at 11:35 AM, Sverker Eriksson wrote:
> Calling erlang:port_command directly will not make things completely
> asyncronous. The inet driver will suspend the calling process when
> the send queue has reached its high watermark. You will block in
> erlang:port_command until some sending has succeeded and the send
> queue is below a low watermark. Or you can timeout using option
> send_timeout.
---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont
More information about the erlang-questions
mailing list