users@glassfish.java.net

Re: apache load balance plugin is so weak ?!

From: Kshitiz Saxena <Kshitiz.Saxena_at_Sun.COM>
Date: Fri, 26 Mar 2010 22:00:38 +0530

Hi,

Yes, I am developer in GlassFish team. My experience with Apache is
mainly to make it work with GlassFish load-balancer plugin.

I have not experimented on number of concurrent users. I don't think
load-balancer plugin will impact that in any case. Do you see number of
concurrent users being less when you install load-balancer plugin? Which
OS are you using? Are ports 1024-65536 enabled to be used on your system
?(Only on windows, it requires additional settings.)

I have made few throughput runs recently. I found throughput achieved
using GlassFish load-balancer plugin is almost same as you will get
using mod_proxy or mod_jk on Apache.

Thanks,
Kshitiz

On Friday 26 March 2010 12:38 PM, glassfish_at_javadesktop.org wrote:
> Kshitiz ,thanks for ur answer .
> I think you are good at apache , are u the developer of glassfish?
> do u have any report about the apache load balancer plugin ? do you think how many concurrent user the plugin can deal with ?
>
>
>> Hi,
>>
>> Yes, you are correct. Setting maxclients to 1 may
>> limit throughput of
>> the system.
>>
>> However if you are not looking for dynamic changes in
>> load-balancer xml,
>> and can live with a little variance from round-robin
>> behavior, then you
>> can use default settings for prefork in Apache. So
>> enable load-balancer
>> plugin, and maintain default settings in Apache and
>> check throughput.
>>
>> Throughput with load-balancer plugin will obviously
>> be lesser than
>> accessing the static page from Apache. Load-balancer
>> will proxy request
>> to a back-end server and send response back to
>> client.
>>
>> Thanks,
>> Kshitiz
>>
>> On Friday 26 March 2010 07:35 AM,
>> glassfish_at_javadesktop.org wrote:
>>
>>> I will keeping test it , but I wonder if use the "
>>>
>> prefork" mode , and set the maxclient to 1, how many
>> concurrent user the apahce will cope .
>>
>>> If i disable the load-balancer plugin , just let
>>>
>> apache provide static html page service ,it just can
>> support 200 concurrent user. could it be said that
>> it is the bottleneck of the all cluster system?
>>
>>> [Message sent by forum member 'dean_chen']
>>>
>>>
>>>
>> http://forums.java.net/jive/thread.jspa?messageID=3938
>> 41
>>
>>>
>>>
>> ------------------------------------------------------
>> ---------------
>>
>>> 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
>>
> Kshitiz , thanks for ur help
> [Message sent by forum member 'dean_chen']
>
> http://forums.java.net/jive/thread.jspa?messageID=393860
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>