I'm working on Appengine with Golang.
I have about 1000 entities on datastore.
When I query all entities(q.GetAll(...)
), Datstore Read Operations
or Datastore Small Operations
run about 2% usage(1k of 50k).
It's same when I use KeysOnly()
or Project(..something...)
.
I have read some articles to solve this, I have to store Datastore Query to memcache. But I cannot find how to do that.
So how can I store/retrieve Datastore Query to/from memcache in Go AppEngine?
Or is there other way to decrease datastore read/small operation usage?
I need your help. Thank you.