[erlang-questions] A possible problem with the canonical listener idiom

John Haugeland stonecypher@REDACTED
Thu Jan 1 04:21:20 CET 2009

I'm not really 100% on this, but I think there might be a race condition in
the canonical example listener under serious load which can lead to the
initial packet(s) from an active or once-active socket being delivered to
the accepting process rather than the handling process.  I've documented
what I believe the problem is, and how to fix it (including a standard fix
in my utility library scutil, under the name standard_listener), here:


I would appreciate commentary.  If I'm wrong, please let me know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081231/97185233/attachment.htm>

More information about the erlang-questions mailing list