3
votes

I'm wondering if anyone knows any script in Python or Java to setup Google App Engine as Load Balancer server?

I choose GAE, because of 100% uptime and free, so it would be the best to setup as Load balancer.

So what I want to do is set up a GAE app (a load balancer application) in "www.domain.com" - using Google Apps, it will share the load to all my servers (with round-robin, or any technique), but when all servers are down, show maintenance page which is host in GAE.

Is this possible?

1
How do you plan to split the load, will you just redirect to the final servers, or you will use GAE as a middle man between all requests? If you're just developing a new application you might as well do it directly on GAE.stivlo

1 Answers

2
votes

You could do it, but you'd

  1. incur extra latency by requiring an extra hop from google app engine to your servers
  2. have all your servers public to the web, since otherwise google app engine won't be able to redirect to them Edit: apparently this is incorrect. See Nick Johnson's comment below!
  3. have to implement something in google app engine to keep track of what servers you have up and how and when to route to them

Seems like it might not be worth it, but it'd be cool if you did it and posted some numbers about how it works!