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

I'm having PHP application and I need to estimate what hardware should I use for specific (predicted) traffic (load). I know it depends on many many factors, but I wonder is there any method except upgrading your hardware as traffic increases? I'd like to avoid both buying way too slow VPS nor unnecessarily powerful one. The application has some basic profiling available, which is able to report how much memory & time was used for processing specific request, and how much time each DB query took.

share|improve this question

migrated from Jun 5 '11 at 13:19

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

Can not be answered (easily), because it depends on a ton of factors. First of all, the app you did not name.

The quality of the app is such a big factor one cannot estimate anything.

If you hit limits, instead of upgrading optimizing code and algorithms may be an option.

Reporting memory, time and each db query sounds like debug-functionality. That is very costy and should be the first thing to be disabled to improve performance.

share|improve this answer

Use the cloud and you are free to scale up to what you need

share|improve this answer
In fact, that’s a good recommendation with such unknown factors and performance. – Kissaki Jun 5 '11 at 10:18

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.