Hi,
It looks like Apache is acting as bottleneck in your setup. I think you
should change StartServers and MaxClients settings to improve
performance. As I mentioned in my last email, if number of connected
users is the criteria then you may need more than one process.
First try it without load-balancer plugin to reach desired result. Then
install GlassFish load-balancer plugin and validate that it does not
impact number of connected users.
Thanks,
Kshitiz
On Thursday 01 April 2010 01:48 PM, glassfish_at_javadesktop.org wrote:
> Kshitiz,I use linux os, and my ports is enabled.
>
> Yes, I do the test what u said , that is , I found the load capability is the same , whether or not I install the load-balancer plugin , and I think its too low ( with the setting of works is 1) , the concurrent users is about 100-200 , if I use single glassfish without cluster , it can deal about 2000 concurrent users!
>
>
>
>> 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=3938
>> 60
>>
>>>
>>>
>> ------------------------------------------------------
>> ---------------
>>
>>> 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
>>
> [Message sent by forum member 'dean_chen']
>
> http://forums.java.net/jive/thread.jspa?messageID=394857
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>