Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's either a good rule of thumb or a method to estimate load on a Windows server for a php application?

How do I estimate bandwidth required for 1000 users on the site, or 10,000?

share|improve this question

This entirely depends on what your PHP app does. How much memory does the process take, what kind of I/O,'d need to take some performance measurements and see what it does under real-world stress, and from there you can try guessing what it'll handle. Your app may do very little, and it could easily handle a thousand users. It could be an I/O hog and will stress at 100 users. It could have an inefficient loop that will hog or leak memory over time.

The only way to really know is to start testing it while watching key counters in perfmon. I don't think there is really a "rule of thumb" for applications in general because of the wide number of variables.

You can sign up for a service that will help automate testing of websites to show "real world load" or create scripts from external sites to hit your web app to see how it performs. That is another option.

share|improve this answer
How does automated testing of websites work in a complex case? Would these test users be able to register / login / browse the website just like regular users would? – TWord Aug 10 '10 at 13:29
How do I measure those variables that you mention above? I/O, CPU processing, network, etc? Some recommendations? – TWord Aug 10 '10 at 13:30
Performance monitor gives server statistics, and gets fairly in depth (it's a subject unto itself.) Browsermob and tools like that let you test your site as if users were interacting with the application. See this list for some starting details: – Bart Silverstrim Aug 10 '10 at 14:26

There is for linux an usefull tool called ab (apache benchmark), who stress in live condition the server. If you can test your script in a linux env. (amazon ec2, ...) it will give you a good idea.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.