Take the tour ×  In my App Engine app (in Python 2.7,
threadsafe) I want to be able to display information on all
entities of my ChildModel kind. I think I've got memcache
working, but because the ChildModel has a property that connects
to a ParentModel there are some things happening that I don't
understand.  I currently have the following models:  class
ParentModel(db.Model):   name = db.StringProperty()   #
currently 109 of these  class ChildModel(db.Model):   name =
db.StringProperty()   parent_program =
db.ReferenceProperty(ParentModel)   # currently 758 of these
I'm implemented memcache using the example from Nick Johnson's
blog.  class AllEntities(webapp2.RequestHandler):   def
get(self):     entitylist =
deserialize_entities(memcache.get("entitylist"))     if not
entitylist:       entitylist = ChildModel.all().fetch(None)
memcache.set("entitylist", serialize_entities(entitylist))
totalnum = ChildModel.all().count()  The very first time I run
this I see the following in appstats:  datastore_