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

Andrew Thompson andrew@REDACTED
Wed Aug 21 05:38:19 CEST 2013


On Tue, Aug 20, 2013 at 10:18:19PM -0500, Sean Cribbs wrote:
> This is exactly the sort of thing gen_event is for. I would make each
> server process register a handler at startup using
> gen_event:add_sup_handler() and then have the handle_event callback simply
> relay the event to the server processes. Yes, gproc can do this, but why
> incur its extra features and overhead?

pg2 also works fairly well.

Andrew



More information about the erlang-questions mailing list