[erlang-questions] [99s-extend] How to broadcaset with ranch?

Max Lapshin max.lapshin@REDACTED
Wed Aug 21 09:53:05 CEST 2013


It is important to understand that if you use gen_event to register event
handlers, than all event traffic will flow through one single process.

If you have 100 messages per second and 10 000 subscribers, than one single
process (one single core) will send 1 mln of messages per second.

If you register subscribers in public named ets table, than each producer
will send only 10 000 messages, which can be distributed among cores.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130821/74084413/attachment.htm>


More information about the erlang-questions mailing list