![]() |
|
With the increase in Internet traffic and complexities of applications, a single server handling multiple requests has become common. When a server is overloaded with requests, it may degrade the efficiency and performance. Load Balancing provides a solution to this problem. The server distributes the load to other machines or nodes that do the task for it.
Pramati Cluster provides a pluggable Load Balancer architecture. Different load balancing algorithms can be used by the cluster. Pramati Server ships with a Weighted Round Robin Load Balancer Algorithm.
This section discusses how to tune a clustered scenario for better performance for Web nodes and Java clients.
Load Balancing from Web nodes for different EJB nodes in the cluster occurs for every new InitialContext() creation. The new InitialContext (IC) connects to the next node in the cluster returned by the Load Balancer algorithm.
Load Balancing for every Java client that connects to an EJB node in Pramati Cluster, depends on the Load Balancer Algorithm (LBA). When a Java client connects to a node, all requests are directed to the same EJB node except in case of a failover.
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |