admin@glassfish.java.net

Re: start cluster time.

From: Elena Asarina <elena.asarina_at_oracle.com>
Date: Thu, 23 Sep 2010 19:20:56 -0700

Hi Tom,

I've deployed an app when instance were up. Then executed a simple
script that did:

asadmin stop-cluster <cluster_name>
sleep 10
asadmin start-cluster <cluster_name>
sleep 10

and so on 4 times. I've measured start/stop time for each start/stop
command. Then took an average start time and stop time (really the time
was stable). I did it before and after the deployment. And before the
deployment the average start time was 15 second, after the deployment -
65 seconds.

Thank you,

Elena

Tom Mueller wrote:
> To clarify what you did...you deployed the application to the cluster
> while the instances were down, and then the time for start-cluster on
> the first start of the cluster was 65 seconds? That would seem to be
> reasonable, as this start-cluster requires synchronizing the
> application to all of the instances. The actual sync time depends on
> the network bandwidth you have and the speed of your DAS, but 65
> seconds would seem reasonable for a 19MB application. I expect that
> if you stop the cluster and restart it, the start time should go down,
> probably not to the original 15 seconds, because the instances need to
> load the application, but it should go down to something below 65
> seconds.
>
> Tom
>
>
> On 9/23/2010 7:00 PM, Elena Asarina wrote:
>> Hi,
>>
>> I've deployed to the 10-instances cluster one 19 Mb application.
>> After that start cluster time changed from 15 seconds to 65 seconds.
>> It it OK or not?
>>
>> Thank you,
>>
>> Elena
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>