On Thursday, March 7, 2013 5:29:12 PM UTC-6, victo...@gmail.com wrote:
>
> ...was wondering to store it all in memcache and non in the datastore to 
> avoid front end instance hours...

 
Using either memcache or the datastore will incur instance hours, so I'm 
not sure what you're trying to avoid. Are you referring to the latency 
difference between the operation 
com.google.appengine.api.datastore.DatastoreService.put(Entity 
entity) and com.google.appengine.api.memcache.MemcacheService.put(String 
key, Object value)? If so, you can save instance hour time by switching to 
the Async version of the datastore (i.e. call 
DatastoreServiceFactory.getAsyncDatastoreService). The operation will 
return almost immediately (faster than the sync version), and it's better 
for storing large amounts of data quickly.





-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to