Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a share hosting, and I charge 150$/years to host company website. Those websites have a maximum of 2000 person per month accessing the site, mostly WordPress site. So everything is fine until a person in Facebook, with 300 000 friend talk about the website. You know, if just 10% go see the site, it's 30 000 person at the same time accessing the site, and what should append just append, the site crash, and then after 1 hours, it's back on...

So the question, how to cope with that kind of load ?

share|improve this question
2  
Get better hosting –  John Conde Aug 21 '12 at 19:29
1  
Look into a dedicated server if you're expecting that kind of traffic. But realistically, who on Facebook, has 300,000 friends? You could implement a proxy server and have multiple servers running in the backend for high-load. This is called "load balancing." –  ionFish Aug 21 '12 at 21:02
    
really popular person have that kind of friend numbers, and today that just append, one post on there wall just kille the server ! And no it's not 300 000 friend, but 281 547 –  menardmam Aug 22 '12 at 3:53
1  
@ionFish Zynga addicts or celebrities. –  Christopher Aug 22 '12 at 10:44

1 Answer 1

up vote 3 down vote accepted

Install Scalr http://code.google.com/p/scalr/ and move your hosting to ec2 or RackSpace cloud server you will be able to automatically scale up and down servers as needed based on your server load. Plus it has automatic MySQL redundancy so if any DB crashes it'll bring up a slave as the master.

share|improve this answer
    
what do you think about microsoft azure or grid hosting : mediatemple.net/webhosting/gs ? –  menardmam Aug 22 '12 at 3:52

Your Answer

 
discard

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.