Hi All,

I build a method for load balancing on GAE.

Why?:  Yes, I understand that GAE auto scales on application demand. 
 However, it does not balance in the sense of free quota usage.  If your 
free quota app hits the quota limit, wouldn't it be nice to just use 
another project and that projects free quota?  I built something to take 
advantage of the multiple projects, independent quota limits to use more 
"free" GAE usage and reduce the need for billable GAE usage.

Let me explain: If your project runs out of free quota (and billing is 
disabled), the app stops functioning.  While Google gives you the ability 
to create 25 different projects, each with an independent quota, none of 
these projects can share quota.  Basically: using only 1 project does not 
mean you get 25 projects * 28 instance hours for that project.

How it works: Basically there is one primary project that handles users 
(user creation, user sign in, user data, etc.).  This project randomly 
chooses and assigns a secondary project for every use upon account 
creation.  You can have a pool of secondary projects.  Users are 
round-robin load balanced to each secondary to split the load and use more 
free quota (3 secondaryies = 150k datastore ops, for example).

Let me know what you think,

Project home page: http://gae-balancer-proxy.appspot.com/
Github repo: https://github.com/coreymgilmore/gae-balancer
More info at my blog: 
http://blog.coreygilmore.io/app-engine-free-tier-load-balancing/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to