Advantages of a large number of threads cf other approaches?
Scott Lystig Fritchie
fritchie@REDACTED
Wed Feb 18 07:27:27 CET 2004
>>>>> "sp" == Shawn Pearce <spearce@REDACTED> writes:
sp> Does anyone think it might be possible to modify gen_tcp in such a
sp> way that we could use multiple nodes on the same system all bound
sp> to the same TCP port, and using some sort of accept lock between
sp> them?
A slightly more oldfashioned way would be to have a single Erlang node
do all of the accepting and then pass the file descriptor to another
node via a UNIX domain socket.
<plug mode="shameless"> Yet another reason to include a UNIX domain
socket driver along with ERTS.</plug>
<puppy mode="punishment">Bad Scott, no biscuit for you!</puppy>
-Scott
More information about the erlang-questions
mailing list