Doing this may be a little cheaper, but since you may have to extract at least one entity that is not in memcache, you will not save much time with this approach. A much better solution is to save the query result to memcache so that you can get the result with a single memcache access.
source share