Hi,
Let me go step by step:
The purpose of load-balancer is to distribute load across instances for
higher overall throughput. In case a serving instance goes down,
fail-over the requests to other healthy instances thus providing
seamless user experience.
Load-balancer supports round-robin, weighted round-robin and
user-defined policy. In general, load-balancing does not base upon load
on back-end system. To take into account of slow system, we have active
health check mechanism. If enabled, even healthy instances will be
checked whether they respond to request in configured amount of time(Say
T). If an instance does not respond in time T, it will be marked
unhealthy. I believe instance not responding in time T, will be function
of load on system, which will be dependent on cpu/memory usage etc.
Though we do not take that directly into account, this can address it to
certain extent. Please refer to documentation available @
http://docs.sun.com/app/docs/doc/819-3679/abdhs?l=en&a=view(Check for
active-healthcheck-enabled)
In case you are looking for a solution without web-server, please refer
to converged load-balancer available is sailfin
<
https://sailfin.dev.java.net/>. It works in self-load-balancing
topology. Please refer to my blog for more details :
http://blogs.sun.com/kshitiz/entry/converged_load_balancer
Thanks,
Kshitiz
Phillip Ross wrote:
> And while I'm on the topic of load balancers... are there are talks, discussions, plans, ideas about a lightweight software based load balancer for glassfish that exists in a more standalone fashion? One that does not require an IIS, Apache, or SJS web server installation? One that is very small and easy to install and configure... maybe even builing on top of an embedded gfv3 architecture?
>
>
>
> ----- Original Message ----
>
>> From: Phillip Ross <phillip.ross_at_yahoo.com>
>> To: users_at_glassfish.dev.java.net
>> Sent: Wednesday, January 7, 2009 7:01:49 PM
>> Subject: Re: Load balancer
>>
>> If the details in this article regarding the dynamic load balancing are not in
>> the glassfish documentation... they really should be!
>>
>>
>>
>> ----- Original Message ----
>>
>>> From: Jacob Kessler
>>> To: users_at_glassfish.dev.java.net
>>> Sent: Wednesday, January 7, 2009 6:53:36 PM
>>> Subject: Re: Load balancer
>>>
>>> Unfortunately, I'm not very knowledgeable about the Glassfish load
>>> balancer. However, it looks like a reasonable place to start would be at
>>>
>>>
>> http://today.java.net/pub/a/today/2008/01/15/dynamic-load-balancing-in-glassfish.html
>>
>>
>>> , though I'll apologize in advance in case it is out of date.
>>>
>>> glassfish_at_javadesktop.org wrote:
>>>
>>>> Jacob I agree entirely. Glassfish is the dummy here...
>>>>
>>>> Is there a place you guys can point out that I can read more about
>>>>
>>> user-defined policy for LBers ?
>>>
>>>> [Message sent by forum member 'theqmaster' (theqmaster)]
>>>>
>>>> http://forums.java.net/jive/thread.jspa?messageID=324640
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>