[not loaded]
http_dyn_workers.pl -- Dynamically schedule HTTP workers.
This module defines hooks into the HTTP framework to dynamically
schedule worker threads. Dynamic scheduling relieves us from finding a
good value for the size of the HTTP worker pool.
The decision to add a worker follows these rules:
- If the load average caused by the worker threads exceeds
http:max_load, no worker is added.
- Wait for some time, depending on how close we are to the
http:max_workers limit.
- If the worker is still needed, add it.
http:schedule_workers(+Dict)[multifile]- Called if there is no immediately free worker to handle the
incomming request. The request is forwarded to the thread
=__http_scheduler= as the hook is called in time critical code.