[google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-05-01 Thread cloudpre
I settled with Generic DAO classes for Objectify wrapped by Jersey. I am using Backbone for the frontend MVC - so far, I have to admit that it is shaping up well. Jerff - thanks for the library. On Apr 20, 8:48 am, Jeff Schnitzer j...@infohazard.org wrote: No, get-by-key that reaches the

[google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-04-20 Thread Peter Han
However, you can convert queries into keys-only queries followed by batch get()s; this will cost small datastore operations for cache hits rather than full read operations keys-only query is a small datastore operation thats is clear, but batch get of entities by key also? Thank you. On Apr

Re: [google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-04-20 Thread Jeff Schnitzer
No, get-by-key that reaches the datastore is a Read Operation. However, memcache hits are free. Jeff On Fri, Apr 20, 2012 at 1:56 AM, Peter Han devifr...@gmail.com wrote: However, you can convert queries into keys-only queries followed by batch get()s; this will cost small datastore operations

Re: [google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-04-18 Thread Robert Kluin
Hi, Memcache is a cache, so you should not depend on it being there. If you need something persisted, you will need to write it to the datastore. You can stick it in memcache at write time, which will help your reads though. Robert On Wed, Apr 18, 2012 at 02:36, cloudpre

Re: [google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-04-18 Thread Jeff Schnitzer
On Wed, Apr 18, 2012 at 3:36 AM, cloudpre pbx.ku...@gmail.com wrote: Jeff - thanks for the note. I have been trying to add few items in memcache manually. Can put operations also be saved? Let's say I am updating the same query again after few seconds. I'm not sure what you mean here. The

[google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-04-18 Thread cloudpre
Thanks Robert. Jeff - thanks for chipping in. I wanted to check if puts are also cached - eg: entity with same values being written over and over again - will they be actually be written to datastore. I will use 3.1 - I liked the Global cache very much. Twig kept the syntax simpler but I do

Re: [google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-04-18 Thread Jeff Schnitzer
On Wed, Apr 18, 2012 at 2:45 PM, cloudpre pbx.ku...@gmail.com wrote: Thanks Robert. Jeff - thanks for chipping in. I wanted to check if puts are also cached - eg: entity with same values being written over and over again - will they be actually be written to datastore. The cache is

[google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-04-18 Thread cloudpre
Thanks. I will use CachingDatastoreService - As a suggestion, you should put a list of customers using it so that they know that it's proven. On Apr 18, 12:22 pm, Jeff Schnitzer j...@infohazard.org wrote: On Wed, Apr 18, 2012 at 2:45 PM, cloudpre pbx.ku...@gmail.com wrote: Thanks Robert.

Re: [google-appengine] Re: Datastore Small Operations - datastore.get(key)

2012-04-18 Thread Jeff Schnitzer
Thanks... but I don't have customers. Customers pay. This is free software - I don't really know who is using it, I just take wild guesses based on the # of people who have subscribed to the mailing list and the # of questions on stackoverflow. Jeff On Wed, Apr 18, 2012 at 10:38 PM, cloudpre