java - JBoss servers with loadbalancer -
java - JBoss servers with loadbalancer -
i have webservice, run on few jboss servers.
the configuration looks this:
apache (as load balancer) -> (n instances of) jboss i wounder if realy need apache lb. found, jbosses servers can work in channel. i'm not sure it means, channel can work lb , if send request apache server 1 channel, jboss server distribute request server less load ?
if not, channel means ?
in jboss communication between nodes handled jgroups grouping communication library, jgroups channel providing core functionality of tracking in cluster , reliably exchanging messages between cluster members. jgroups channels same configuration , name have ability dynamically find each other , form group.
e.g. channel used distributed httpsession cache or ejb3 cache.
in http-based jboss services, external load balancer required process requests , dispatch them server nodes in cluster. load balancer logically part of cluster, refer “external” because not running in same process either client or of jboss instances. can implemented in software (mod_jk, mod_cluster, etc).
ref: http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-blocks.chapt.html
java jboss load-balancing
Comments
Post a Comment