Difference between revisions of "Load Balancing"

From PresenceWiki
Jump to: navigation, search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This is Load Balancing
+
This topic relates to the [[Presence Server]] in the [[Architecture]] section.
  
A server will be hungry for tasks based on it's Priority, how many tasks it is currently running and
+
----
  
The server priority is set in the presenceconfig.xml and read when teh server starts up.
+
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.
  
http://www.international-presence.com/images/docs/loadbalancing/configloadbalancing.png 
+
Each Server waits for an amount of time before attempting to allocate itself to run a task.
  
If the task has excluded servers or a preferred server then Load balancing will take a back seat.
+
How long it waits, i.e. how eager it is will be calculated based on:-
  
http://www.international-presence.com/images/docs/loadbalancing/taskproperties.png
+
it's Priority, how many tasks it is currently running and it's thread count.  
 +
 
 +
These values can be found in the table <b>APP.MACHINES</b> in the fields <b>THREADCOUNT</b>,<b>TASKCOUNT</b> and <b>PRIORITY</b>
 +
 
 +
The server priority is set in the presenceconfig.xml and read when the server starts up.
 +
 
 +
[[file:configloadbalancing.png]]
 +
 
 +
Note, as stated above, if the task has excluded servers or a preferred server then Load balancing will take a back seat.
 +
 
 +
Right clicking on a Task in the [[Task Explorer]] will show the following screen where the aforementioned settings can be made.
 +
 
 +
[[file:taskproperties.png]]

Latest revision as of 08:38, 21 August 2015

This topic relates to the Presence Server in the Architecture section.


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, i.e. 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 values 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 the server starts up.

Configloadbalancing.png

Note, as stated above, if the task has excluded servers or a preferred server then Load balancing will take a back seat.

Right clicking on a Task in the Task Explorer will show the following screen where the aforementioned settings can be made.

Taskproperties.png