[erlang-questions] supervisor children's pid

Tim Watson watson.timothy@REDACTED
Wed May 18 14:45:07 CEST 2011


>>
>>  * Run a name resolution server somewhere and have all the children
>>    subscribe to it. The server will monitor them and may provide
>>    notification facility to announce Pid changes/availability to
>>    anyone interested -- this lets you do safe startup of dependent
>>    processes.
>
> probably the best would be then to have a gen_event module for this. this is
> a good idea.
>

wouldn't gproc be useful for this? The keys don't have to matter and
you can subscribe based on a match/wildcard.



More information about the erlang-questions mailing list