See http://tapestry.formos.com/nightly/tapestry5/guide/conf.html

>Should I then maximize the page-pool.hard-limit to 150?
Its difficult to give you numbers, its something you should figure out through 
monitoring and testing, I ran a number of test to determine my thresholds. I am 
using:

configuration.add("tapestry.page-pool.hard-limit", "200");
configuration.add("tapestry.page-pool.soft-limit", "7");

Basically for a low volume site with no more than 100 - 150 users in total, I 
have a generous hard limit so as not to ever run out page instances, unless 
something out of the ordinary happens (i.e.: denial of service attack), but the 
soft limit is very low to allow only a few page instances in the pool before 
recycling pages, basically only if no page instances are available then a new 
page is served.

>do I get a big chances on permgen / heapspace errors?
This depends on your available resources (hardware, and memory allocation to 
your VM). Permgen relates to classes that are never unloaded, if your resources 
are correctly allocated you are not going get Permgen errors from Tapestry 
related class loading. To avoid heap errors you need to monitor memory usage 
and allocate enough ram, Tapestry also makes use soft references which helps.


Peter


----- Original Message -----
From: "Peter Kanze" <peterka...@gmail.com>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Thursday, 9 April, 2009 17:13:13 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: T5: tapestry.page-pool.hard-limit for high traffic websites

Hello

The default for the absolute maximum number of page instances is 20.

Does this mean 20 users can request the same page at the same time? I am
rebuilding a website that has at peaktimes around 100 users per second,
requesting the same page (home page)..

Should I then maximize the page-pool.hard-limit to 150?

Is that an acceptable number, or do I get a big chances on permgen /
heapspace errors?

What are acceptable values for page-pool.hard-limit, page-pool.soft-limit
and page-pool.soft-wait for high traffic websites?

thanks!
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to