Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm currently using a virtual server.

2 vCores
8GB RAM
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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

1 Answer 1

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
1  
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.