I'm planning on launching a web application soon, and have decided on using Rackspace's Cloud offering with Debian. I'm not expecting that much traffic to start, but would rather get the architecture correct now even with the small VPSs. The thing I'm not quite sure about is how many VPSs I should get. At a minimum, I know I'll want three VPSs:

  • Two Apache webservers
  • One server for MySQL

I'd also like:

  • Nginx load balancer
  • MySQL replication
  • memcached

I'm not sure where those last three processes should be running. Can the load balancer run on the same machine as the MySQL slave, or should they each run on their own machine? Does memcached run alongside the webservers or on different machines?


When you don't need a perfect soulution but cheap at the beginning of your service, DNS "Load Balancing" could be a way also.

  • +1 simple and efficient. But only does load balancing and not HA. – Antoine Benkemoun Aug 30 '10 at 12:41

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.