2

Is it possible to host my site www.example.com that sells T-Shirts on multiple services simultaneously e.g. AWS EC2 (or Heroku) & my personal box (let's call it MyBox)?
I would typically serve the user from my MyBox but if it goes down or it's overloaded, the additional traffic would be routed to AWS. How will the databases stay coherent in this case?

  • The question in the title doesn't completely match the question in the first sentence, and there's two more that would require broad, opinion-based answers... Can you edit it down to just one specific question? – dan Sep 14 '13 at 6:39
  • 1
    @dan Edited title & detail. – user Sep 14 '13 at 7:32
  • Theoretically, you are looking for a smart load balancer. The load balancer has x MyBox(es) and y AWS_Box(es). Only when MyBox(es) are unreachable/overloaded send traffic to AWS_Box(es). Although I have never played with an LB myself, I assume this should be supported by them. – TJ- Sep 14 '13 at 12:16
  • Where would the LB run? Ideally at DNS level? – user Sep 14 '13 at 16:13
1

Check out Scalr, it auto scales servers, https://www.youtube.com/watch?v=DiLXsNtt-JE

It's open source, but they also have a hosted version.

| improve this answer | |

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.