Forum OpenACS Development: Re: cache statistics

6: Re: cache statistics (response to 4)
Posted by Malte Sussdorff on
Dave said:

I seriously doubt you need 40 threads for 35 concurrent users anyway, but only testing could prove that.

My assumption was I should calculate one thread per concurrent user and have a little bit of space for externals that access the site occasionally. Wrong?

How could I test this?

7: Re: cache statistics (response to 6)
Posted by Patrick Giagnocavo on
Well, one way to test it would be to calculate how long a page takes to be generated. For instance, 10 threads which serve pages that are generated in 0.5 seconds can thus serve 20 pages per second.

However, on top on that, you have the fact that most users take a while to read each page. So, you need to calculate page loads per minute.

So our 10 threads above can serve 20 pages per second * 60 = 1200 pages per minute. If you have longer page generaton times, you need to adjust accordingly.

The most threads I have seen on any server is 35 threads. This application served some 20,000 to 35,000 users per week doing a multistep data entry/questionnaire application.