cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <p...@luminas.co.uk>
Subject Re: Pool contracts (Was Re: [Fwd: [C2] [Bug] ComponentNotAccessibleException])
Date Mon, 26 Feb 2001 14:46:54 GMT
* Berin Loritsch (bloritsch@apache.org) wrote :
> For very stable environments that have a steady resource usage, the
> No resource limiting pool will have the best performance because the
> pool will be filled with the number of resources already necessary.
> It won't be practical for environments with usage spikes because the pool
> will be sized for the highest spike--which most of the time is wasted
> space.

We should probably have an AdaptivePool, too. This would be similar to
the no-limits pool except it would gradually shrink back to a sensible
size. This can be implemented in various ways -- e.g. by killing off 10%
of the pooled components over every 30 minute period, with the net
result that if there is a spike, it should get back to normal relatively
quickly. There are better algorithms out there, but you get the idea.


Paul.

-- 
Paul Russell                                 Email:   paul@luminas.co.uk
Technical Director                             Tel:  +44 (0)20 8553 6622
Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
This is not an official statement or order.    Web:    www.luminas.co.uk

Mime
View raw message