Load balancing

One way to increase the capacity of the Genero Application Server (GAS) is to scale it out by deploying multiple instances of the GAS on different servers.

As the GAS is fully integrated with existing Web servers, third-party tools can be used to implement load balancing so that network traffic is distributed across a group of backend servers.

Load balancing options

GAS applications can be load balanced using standard load balancing techniques, including software load balancers such as Windows® Network Load Balancing or HAProxy, as well as hardware-based load balancing appliances.

Note: There is no reason to have a Web server, its dispatcher, and the VMProxy on different machines. While the load balancer will balance load across different machines, on each machine you will find one Web server, one dispatcher, all attached proxies, and all attached DVMs. In production, you should think of the GAS as a group comprised of the Web server, dispatcher and proxies, and DVMs.

Configuring load balancer

The load balancer gateway is the entry point of your application. It routes the client request to the appropriate GAS. The GAS behind the load balancer needs to know this entry point in order to generate the appropriate URLs in your applications. To configure this entry point use the ROOT_URL_PREFIX element.

Topics in this section discuss considerations for load balancing GAS applications on multiple instances. The provided examples illustrate simple configurations for Internet Information Services and Apache Web servers.