Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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

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

Your Answer


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.