httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <>
Subject [PATCH] proxy lb support - step 1
Date Mon, 26 Jul 2004 10:17:28 GMT
Hi all,

There has been some serious discussion for building load balancing support
for mod_proxy.
Here is the first in series of patches that will enable this.

The patch adds lb support in scoreboard, so that statuses for each lb worker
can be calculated for each child process.
It uses optional function to retrieve the number of lb workers and
calculates the scoreboard size accordingly.

The other option is to rewrite the scoreboard functionality and use it
inside mod_proxy, but that will cause a strange shm locking observed on some
platforms using jk2 shared memory, cause we cannot create the shm in parent

Right now the lb_score only defines 1024 byte space, that can later be
replaced with real struct members once when the lb functionality gets
For now we will simply cast that to the desired structure.


View raw message