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 currently using a virtual server.

2 vCores
Bandwith 100MBit/s
Ubuntu 10.04

But still this seems to be not enough to handle the traffic on my site. Normally a page needs less than 0.2seconds to be generated, but when there are more visitors on the site at the same time, then it can also take sometimes more than 5 seconds.

MySQL Statistics (approximately):
1300 queries/sec
80 connections simultaneously
CPU usage > 90 %

I have the possibility to upgrade to a better Virtual Server (4 vCores, 16GB RAM). Would this have much and visible effect on the performance? Or is there any setting I could change in the apache config files?

Please tell me if you need any further information besides from that.

share|improve this question

marked as duplicate by EEAA, Chopper3, HTTP500, ceejayoz, Grant Jul 22 '13 at 21:46

This question was marked as an exact duplicate of an existing question.

Load test your app in a test environment. No one is going to be able to answer you. Please see:… – HTTP500 Jul 22 '13 at 21:33

The best way to do this is to jump out of a virtual server and grab a real server with SSD drives.

Cores won't matter if they are being rate limited.

share|improve this answer
No, the best way to do it is to collect metrics on your resource utilization, and then make decisions based on that. Throwing arbitrary hardware at the problem is very foolish. – EEAA Jul 22 '13 at 21:56
Additionally, there are absolutely no guarantees that a "real server", by which I presume you meant "non-virtualized server" will perform any better than a VPS. I have VMs on both Linode and EC2 that will run circles around the machines peddled by many dedicated server providers. – EEAA Jul 22 '13 at 22:25

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