users@glassfish.java.net

Re: Load balancer

From: Pankaj Jairath <Pankaj.Jairath_at_Sun.COM>
Date: Mon, 05 Jan 2009 11:05:36 +0530

Load Balancing policies are round-robin, weighted and user defined. One
can use the user-defined policy to build custom load balancing policy;
for ex: MIME type based. LB does not specifically provide distribution
based on CPU, memory availability. One could use weighted, in case of
m/c with differential processing capabilities. For ex: m/c1 with two
cpu's (with instance1) is more powerful than m/c2 (with instance2) then
you could assign instance1 a weight of 2*weight-instance2; where
weight-instance2 is the weight assigned to instance2.

regards
Pankaj

glassfish_at_javadesktop.org wrote:
> What are the setting for the load balancer on glassfish ?
>
> Does the cpu, connection pool, memory availability play a role or is just a plain round robin ?
>
> Thanks!
> Q
> [Message sent by forum member 'theqmaster' (theqmaster)]
>
> http://forums.java.net/jive/thread.jspa?messageID=323750
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>