Efficiently Serving Dynamic Content in Google App Engine
- by awegawef
My app on google app engine returns content items (just text) and comments on them. It works like this (pseudo-ish code):
query: get keys of latest content #query to datastore
for each item in content
if item_dict in memcache:
use item_dict
else:
build_item_dict(item) #by fetching from datastore
store item_dict in…