[erlang-questions] PR#1602, Refactor supervisor, and store children in a map instead of a list

Siri Hansen erlangsiri@REDACTED
Mon Oct 30 14:49:38 CET 2017


Hi all!

Inspired by https://github.com/erlang/otp/pull/1467, I have done
https://github.com/erlang/otp/pull/1602.

Due to quite a bit of refactoring, the diff on the supervisor module is
rather big. There should be no functional changes, except the speed of
starting many children under a non-simple_one_for_one supervisor. The goals
of the change are

* speed up starting of many children (as in the original PR#1467)
* improve readability
* improve maintainability and prepare for further changes

We have done internal reviews, and tests have quite good coverage, so we
are getting close to merge (on master). Still - if anyone out there has got
the time and interest, some further reviews and/or tests in existing
systems would be much appreciated.

Thanks
/siri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171030/24f31e7f/attachment.htm>


More information about the erlang-questions mailing list