[erlang-questions] Comet server broadcasting messages to 40k clients

Scott Lystig Fritchie <>
Thu Jan 22 23:50:52 CET 2009


Adriano Bonat <> wrote:

ab> Any other ideas are welcome, and thanks for you reply :)

Have you tried profiling?  Without actually doing so, I can only guess
that with 40K sockets, 40K calls to io_lib:format() are going to use
more than 8 nanoseconds of CPU time ... and the real culrpit may be
quite obvious.

-Scott



More information about the erlang-questions mailing list