On 30 May 2012, at 23:19, "André Warnier" <a...@ice-sa.com> wrote:
>> On Wed, May 30, 2012 at 10:07 AM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: > .. >>> >>> If my environment and requirements match yours, you'd need 10000 * >>> max_pool_size * 66KiB at peak usage. That's about 640MiB for each >>> connection you want in 10k pools. For a (uniform) max pool size of 4, >>> you'll need more than 2GiB of heap space just for connection pools. >>> >>> Is that acceptable? >>> > > Taking the same hypothetical case and figures : > > Assuming that you need a total of (10000 * 4 connections) = 40000 connections. File handles anyone? Web connections n x 10k + db connections m x 10k = ? > Assuming that it takes 10ms to set up one such connection, and that once it > is there, you don't do anything with it and just let it be for now. > Assuming we ignore such things like bandwidth, other things happening on that > host etc.. > It then takes a total of (10 ms * 40000) = 400000 ms = 400s = ~ 6.5 minutes > just to set up these connections. > > Is that acceptable ? > > What I mean is that once you start playing with such numbers, you may want to > look at other aspects than just required memory.. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org