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

Scott Lystig Fritchie fritchie@REDACTED
Thu Jan 22 23:50:52 CET 2009


Adriano Bonat <adrianob@REDACTED> 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