Knowledge for our questions, fun for everyone!
Knowledge for our questions, fun for everyone!

Chooser plugins

Internal overview
Chooser plugins
Internal overview

What is a ’Chooser plugin’ ?

Chooser plugins have the task of switch between the available servers & clusters. The cluster’s choose is based on the the rule plugin (this plugin is described in the following section). The basic concept is that the rule plugins choose between clusters, and the chooser plugin choose between the servers in a cluster (based in their response time, load, status, etc). These plugins are protol-independent.

We have the following chooser plugins available in Load Balancer:
plugin name Description
chooser_rr.so This is a generic round robin chooser plugin. The servers in a cluster are transversed in order (skipping the disabled servers) so the number of request that they serve are more or less the same. This method has the drawback that the servers’ stats are not used, so a request can be attended by a busy server). Is the most simple method I can program to switch between servers. configuration options
  • No configuration options
chooser_bf.so

This is a generic best-first chooser plugin. This plugin always select the best available server in a given cluster. At the first sight, this method can result as a ’hog resource’ one, but because the poll interface periodically updates the server’s stats, the load is distributed between the servers in a straight way. Is a more advanced method than round-robin’s.

configuration options
  • No configuration options

Published at 18/09/2003 21:50:26
Last Updated 08/12/2003 20:25:07
By Juan M. Casillas




Google



Chooser plugins
Internal overview

Sections
Load Balancer

February's articles
S M T W T F S
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
      
More articles

Search


Other versions
XML version
Printable version

Download
Latest version is 0.5 (28.8 Kb, tar.gz file)

 » from JMCResearch
Quick links
Install HOW-TO
Local CVS Repository
Ask your questions