Difference between revisions of "Load Balancing"

From PresenceWiki
Jump to: navigation, search
Line 1: Line 1:
This is Load Balancing
+
When a task can be run on more than one Server and a Preferred Server is not specified then load balancing will come into effect.
  
A server will be hungry for tasks based on it's Priority, how many tasks it is currently running and  
+
Each Server waits for an amount of time before attempting to allocate itself to run a task.
 +
 
 +
How long it waits, ie how eager it is will be calculated based on:-
 +
 
 +
it's Priority, how many tasks it is currently running and it's thread count.
 +
 
 +
These calues can be found in the table APP.MACHINES in the fields THREADCOUNT TASKCOUNT and PRIORITY
  
 
The server priority is set in the presenceconfig.xml and read when teh server starts up.
 
The server priority is set in the presenceconfig.xml and read when teh server starts up.

Revision as of 10:16, 23 March 2010

When a task can be run on more than one Server and a Preferred Server is not specified then load balancing will come into effect.

Each Server waits for an amount of time before attempting to allocate itself to run a task.

How long it waits, ie how eager it is will be calculated based on:-

it's Priority, how many tasks it is currently running and it's thread count.

These calues can be found in the table APP.MACHINES in the fields THREADCOUNT TASKCOUNT and PRIORITY

The server priority is set in the presenceconfig.xml and read when teh server starts up.

http://www.international-presence.com/images/docs/loadbalancing/configloadbalancing.png

If the task has excluded servers or a preferred server then Load balancing will take a back seat.

http://www.international-presence.com/images/docs/loadbalancing/taskproperties.png