Patch for increasing simple_one_for_one supervisors efficiency

Alexey Shchepin alexey@REDACTED
Tue Jan 24 02:52:39 CET 2006


Hi!

Please, apply this patch to supervisor.erl to increase efficiency of
simple_one_for_one supervisors.  Currently #state.dynamics uses orddict-similar
implementation, and this patch replaces it with implementation that use dict
module.  Without this patch supervisor was the biggest bottleneck during some
ejabberd benchmarks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: supervisor.patch
Type: text/x-patch
Size: 3065 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20060124/3728b09c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20060124/3728b09c/attachment-0001.bin>


More information about the erlang-patches mailing list