Archive for the ‘App Engine’ Category

Updating Model Schema in Google App Engine

Problem I have an App Engine app that keeps tracks of some tweets (“status” in the API). I decided I wanted to store the time the message was originally tweeted. So I need to update the schema of one of my models, TweetDigest, to add the new property (field). But then I also would like [...]

Google App Engine Memcache Limits

Problem If you attempt to store an object more than approximately 1 MB in size using memcache in the Google App Engine, it will give a ValueError, something like this: ValueError: Values may not be more than 1000000 bytes in length; received 1088171 bytes Solution I’ve added a library to my Appswell framework that allows [...]

AppEngine Estimated Request CPM

Playing with Firefox Live HTTP Headers and Google’s App Engine, I just noticed the header X-AppEngine-Estimated-CPM-US-Dollars. An example: HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Cache-Control: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Content-Encoding: gzip X-AppEngine-Estimated-CPM-US-Dollars: $0.000164 X-AppEngine-Resource-Usage: ms=11 cpu_ms=0 api_cpu_ms=0 Date: Sat, 24 Apr 2010 20:28:51 GMT Server: Google Frontend Content-Length: 299 Very interesting. [...]