Re: [google-appengine] 6470ms for a memcache get and write out the result?

2011-10-15 Thread djidjadji
           page = CachedObject.all(keys_only=True).filter('appversion =', appversion) \                                                   .filter('uri =', uri).get()            if page:                p = db.get(str(page))                self.write(p.html)                

Re: [google-appengine] 6470ms for a memcache get and write out the result?

2011-10-15 Thread andreas schmid
you are right and i will do it but this is not what is causing that huge delay in the response. On Oct 15, 2011, at 6:01 AM, djidjadji wrote: page = CachedObject.all(keys_only=True).filter('appversion =', appversion) \

[google-appengine] 6470ms for a memcache get and write out the result?

2011-10-13 Thread andreas schmid
hi, im having serious speed issues on a site. my app is a python app and im using torndadoweb to serve requests. the actual rendered html is also store in the datastore and memcache. a decorator on the GET request checks first if there is a memcache entry if it exists it writes the html out,