[Stratos-dev] Stratos services startup time
Hiranya Jayathilaka
hiranya at wso2.com
Sun Jun 6 07:05:31 PDT 2010
On Sun, Jun 6, 2010 at 6:58 PM, Sanjiva Weerawarana <sanjiva at wso2.com>wrote:
> Is it an option to have a delayed start model? That is, start the server
> and then load the services etc.. However, if a request comes for a
> particular tenant's stuff before it has been loaded then we do that
> immediately (like compiling JSPs on demand).
+1
I've been working with WebLogic server lately, and it has a similar startup
model. We can configure the WL server to not load certain webapps, until
they receive a request. This speeds up the startup a lot and even more
importantly, if a particular webapp does not receive a request, it never
gets loaded, thus saving up on memory etc.
It would be great to implement this model on Carbon/Stratos. In Stratos
there could always be certain tenants which are not accessed for long
durations.
Thanks,
Hiranya
> Sanjiva.
>
> On Sun, Jun 6, 2010 at 6:41 PM, Afkham Azeez <azeez at wso2.com> wrote:
>
>> As per https://wso2.org/jira/browse/STRATOS-237 server startup can take
>> several hours when we have a few hundred tenants with each tenant having a
>> few artifacts deployed. This is because for each artifact being deployed,
>> there are many registry calls. Obviously, this is not very scalable. We will
>> have to come up with a solution which will make startup much faster, either
>> by some for of caching or reducing the number of registry calls. This is not
>> a Stratos problem per se. Any deployment which has a few hundred artifacts
>> deployed will face this problem. We need to brainstorm on the possible
>> solutions.
>>
>> --
>> Afkham Azeez
>> Senior Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.;
>> http://wso2.com, Lean . Enterprise . Middleware
>> Member; Apache Software Foundation; http://www.apache.org/
>> email: azeez at wso2.com cell: +94 77 3320919
>> blog: http://blog.afkham.org
>> twitter: http://twitter.com/afkham_azeez
>> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>
>> _______________________________________________
>> Stratos-dev mailing list
>> Stratos-dev at wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>
>>
>
>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/
> email: sanjiva at wso2.com; phone: +1 408 754 7388 x51726; cell: +94 77 787
> 6880 | +1 650 265 8311
> blog: http://sanjiva.weerawarana.org/
>
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Stratos-dev mailing list
> Stratos-dev at wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>
>
--
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.; http://wso2.org
E-mail: hiranya at wso2.com; Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wso2.org/pipermail/stratos-dev/attachments/20100606/032bea43/attachment-0001.htm
More information about the Stratos-dev
mailing list