<-
Apache > HTTP Server > Documentation > Modules

Apache Module mod_lbmethod_bybusyness 642l1x

Available Languages:  fr 

Description: Pending Request Counting load balancer scheduler algorithm for mod_proxy_balancer
Status: Extension
Module Identifier: lbmethod_bybusyness_module
Source File: mod_lbmethod_bybusyness.c
Compatibility: Split off from mod_proxy_balancer in 2.3

Summary 6m2os

This module does not provide any configuration directives of its own. It requires the services of mod_proxy_balancer, and provides the bybusyness load balancing method.

 Apache!

Topics 2c136y

Directives 1a4l6m

This module provides no directives.

Bugfix checklist 4i2533

See also 27136x

top

Pending Request Counting Algorithm 311j3c

Enabled via lbmethod=bybusyness, this scheduler keeps track of how many requests each worker is currently assigned at present. A new request is automatically assigned to the worker with the lowest number of active requests. This is useful in the case of workers that queue incoming requests independently of Apache, to ensure that queue length stays even and a request is always given to the worker most likely to service it the fastest and reduce latency.

In the case of multiple least-busy workers, the statistics (and weightings) used by the Request Counting method are used to break the tie. Over time, the distribution of work will come to resemble that characteristic of byrequests (as implemented by mod_lbmethod_byrequests).

Available Languages:  fr 

top

Comments 2p1l6j

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our s if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.