Supervisor: Dynamic children performance improvement

Mickael Remond <>
Fri Jan 13 12:23:16 CET 2006


Hello,

We have changed the behaviour of the supervisor to improve the
performance when you have a lot of dynamic supervised children (several
thousands).

The patch and its description is available from:
http://support.process-one.net/doc/display/CONTRIBS/Supervisor+-+Performance+improvement+for+dynamic+workers

It uses an Erlang dictionary instead of lists: The supervisor children
list update are thus much more efficient. 

It has been used in production systems and lowers our CPU consumption
when dealing with lot of supervised connection process.

I thought it could be a nice addition to Erlang/OTP.

Best wishes,

-- 
Mickaël Rémond
 http://www.process-one.net/ 




More information about the erlang-patches mailing list