I am probably taking things a bit too personally, but I feel like I just successfully guilt-tripped the Google App Engine (GAE) team. Just last night I was complaining that they were teasing me (supporting urllib2, but an older version, without timeout support). And tonight I noticed a new post on their blog, announcing the end of these "High CPU Requests" that have been the bane of my GAE experience.
The reason why I was looking for timeout support in the first place is to avoid generating these dreaded "High CPU Requests" that quickly result in your application being disabled. It's all explained here and here.
But now that they are gone, I don't need timeouts anymore. Around 11:00PM Pacific (on Thursday 2/12) I restarted my application. All it does is create 5 new simple entities in the datastore, one every second (it sleeps for one second between each entry). Then it spawns its successor, which will do the same thing, ad vitam aeternam. The application's name, "rere", is short for "request relay", the pattern used to emulate a long running process. The default page for the app (available here) just returns a list of the 30 last entities created. The point is to illustrate that a single original request spawned an ever-lasting computing task on GAE.
Read full article from Long-running processes on Google App Engine: it finally works | Cloud Comedy, Cloud Tragedy
No comments:
Post a Comment