dev@glassfish.java.net

Re: why on demand initialization of admin service?

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Sat, 09 Dec 2006 07:48:11 +0530

I do think admin service is currently started on demand. Binod's earlier
response kind of confirmed it.
About reduction in start up time: even if you see a 40% reduction in
start up time, I am assuming we shall continue to start some subsystems
on demand only so that resource usage is optimized.

Thanks,
Sahoo

Lloyd L Chambers wrote:
> That is not correct. The AdminService is started in ApplicationServer
> as the very first ServerLifecycle module. It most defininitely is not
> started on demand.
>
> Much of what the AdminService does is required by other parts of the
> server. Disabling it would cause many other pieces to fail.
>
> I am working on threaded server startup, which includes the admin
> service. I am seeing a 40% reduction in startup time (real time) for a
> full startup (not quickstart).
>
> Lloyd Chambers.
>
> On Dec 8, 2006, at 1:54 AM, Sanjeeb Kumar Sahoo wrote:
>
>> We seem to be initializing the admin service only on demand. Would it
>> be better to initialize it in the back ground as soon as the server
>> starts? How often will there be a server running where there will be
>> no administration activity? By not initializing admin service, who
>> are we optimizing it for?
>>
>> Thanks,
>> Sahoo
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>