1

I have wordpress site on Linode VPS (Ubuntu 11.04). Site working fine, but sometimes i have Digg-effect (large numbers of simultaneous visits) and my site has down. I looking a cloud-solution that worked only when the linode-server can not process a large number of requests. Thanks for help..

3 Answers 3

6

Simplest thing to do is place a caching server infront of wordpess, such as varnish-cache

Or there are nginx + memcache setups that are also viable, at any rate reducing the amount of dynamic content generation will help alleviate a lot of the strain on your solution.

Update: voretaq7's comment reminded me of the W3 Total cache plugin, this is a great plugin that allows you to take database and objects and cache them within word press using a variety of technologies.

4
  • 3
    Reducing your dynamic content generation should be step 1. You'd be amazed how much your VPS can serve if it's only got to take the data off disk/out of RAM and hand it to the client. It's the database-querying PHP-processing bit that kills sites.
    – voretaq7
    Mar 22, 2012 at 17:27
  • I tried to install varnish but it is not yet so. Mar 22, 2012 at 21:33
  • @BohdanHdal You of course need to configure it, to run on port 80, cache lifetimes etc.
    – Oneiroi
    Mar 22, 2012 at 22:22
3

Have you considered using something like CloudFlare as a CDN?

2
  • Thank you. I have already paid attention to CloudFlare. You know any alternatives of this service? Mar 22, 2012 at 21:17
  • I think that if you google for CDN, you will find a lot of commercial alternatives. The wikipedia page on it has lots of alternatives listed too.
    – sybreon
    Mar 23, 2012 at 2:15
1

My first instinct mirrors Oneiroi's position... but to try and be creative, spin up cloud instances when under load and start issues temporary redirects to the cloud server's DNS name. Of course, anything generated still has to be sourced from over there, and thus already copied across the network.

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.