开发者

Make Google App Engine as Load Balancing Server

开发者 https://www.devze.com 2023-02-06 03:09 出处:网络
I\'m wondering if anyone knows any script in Python or Java to setup Google App Engine as Load Balancer server?

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?


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!

0

精彩评论

暂无评论...
验证码 换一张
取 消