|
Kshitiz has a note on the new Java-based Converged Load Balancer that will be part of SailFin and GlassFish v2.1. The CLB handles both HTTP and SIP traffic and can be used with and without a hardware IP sprayer. Check Kshitiz's Detailed Writeup for details on load balancing algorithms and configuration options. |
|
GlassFish doesn't trade enterprise features such as management and monitoring for Open Source. Masoud Kalali's recent article on java.net is a good illustration of this. It shows how the JMX-based administration infrastructure can be accessed to dynamically change the behavior of the HTTP load-balancer. The article first goes into what JMX and GlassFish AMX's are before introducing GlassFish v2's Management Rules mechanism. The rest is a detailed explanation of how to create and deploy the MBean to manage the weight of the load-balancer algorithm and the corresponding management rule. |
Masoud had previously written detailed blog entries about:
- How to Secure GlassFish installation.
- GlassFish version 2 monitoring capabilities
J2EE
Hibernate
mbean
hbm
exception
loadbalancer
ResourceBundle
|
GlassFish has had mod_jk support since GFv1; a common use case is where Apache httpd server is serving static pages and delegating to GlassFish for dynamic content. |
The any-day-now GFv2 UR1 release also supports the case where httpd works as a load balancer to a cluster of GF instances, and Jan's latest note describes in detail how this works out.
Jan's entry not just describes how to configure httpd and GF but it also includes an architectural overview, explaining how jvmRoute works in the load balancer scheme used by httpd as well as how it was implemented. Check it out!