Load Balancer has internal parameters that defines some values for the
Load Balancerís core. this tag is named coreparams and
have the following configuration options:
This parameter defines the number of dispatch threads that Load Balancer
will built when it is launched. The bigger the number of threads, the
bigger the number of concurrent connections supported. In the test
phase, a number of 10 threads support a load of about 1,000 connections
per second (using httperf as traffic generator).
This parameter defines the interval after a connection with a server
is closed due a timeout, in seconds. This parameter should be modified
in function of the network delays, etc. With the server farm in a internal
network, 60 seconds should be enough.
The buffer size used to share data between the client and server,
measured in bytes. If you pass lots of data between the server and the
client (e.g. when downloading big files) you should increment the
buffersize value; else, if you have lots of small connections, you
should decremente the buffersize. Note that you have a buffer per
thread spawned, so be conservative with this value (if you have lots
of free memory, incrementing this value should increment Load
The type of the log that Load Balancerís will use. You can choose between
the following values:
If log property is not defined, Load Balancer wonít log data. This increment
the perfomance of Load Balancer, but you canít see nothing about its
internal working. This option is useful when you have Load Balancer in a
- STDERR: dump all the log data to the standard error channel.
- SYSLOG: dump all the log data to the syslog system facility.
- filename: dump all the log data to the file called ífilenameí.
This is the path to the plugin (module), that does the proxy function
inside the Load Balancer. Also you can specify the pluginís filename
only (without path) if you have the module installed in the same
directory that Load Balancer.
this is the path to the plugin (module), that does the chooser
function inside the Load Balancer. Also you can specify the pluginís
filename only (without path) if you have the module installed in the
same directory that Load Balancer.
Proxy & chooser configuration
These two plugins donít have configuration parameters, but in the
future, maybe they need some, so they have room in the configuration
for this configuration. You must have the configuration tag entries
for these two plugins in the file, without parameters: