2

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 ?

4
  • 2
    Get better hosting
    – John Conde
    Aug 21, 2012 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, 2012 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, 2012 at 3:53
  • 1
    @ionFish Zynga addicts or celebrities. Aug 22, 2012 at 10:44

1 Answer 1

3

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.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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