Well, you're making simple things seem too complicated.

If you can, store whole ready documents to be returned. If you can't
try cache all data in memcache as long as reasonably possible and use
multi get and set, if possible.

Here's what I just wrote about this topic:
http://www.sami-lehtinen.net/blog/9ox-net-multilayer-caching-asynchronous-processes-app-engine-python

My writing includes memcaching and other caching, performance and
efficiency strategies.

It's light description but executing those things described in it
practice is quite simple.

 - Thank you

Best regards,
Sami Lehtinen
http://www.sami-lehtinen.net/

On Dec 16, 1:41 pm, Leandro Rezende <[email protected]> wrote:
> .... so i will try to Bing it! =)
>
> 2011/12/15 Leandro Rezende <[email protected]>
>
>
>
>
>
>
>
> > any tip?
>
> > 2011/12/14 Leandro Rezende <[email protected]>
>
> >> no i never used, im trying to learn about it to reduce the "Datastore
> >> reading operation" from my application.
>
> >> my application is small and its consuming too much quota. probably i will
> >> need to denormalize more, but using cache i hope to save some reads
> >> operation
>
> >> 2011/12/14 Ikai Lan (Google) <[email protected]>
>
> >> Which part do you need help on? Have you used caching before in the past?
>
> >>> --
> >>> Ikai Lan
> >>> Developer Programs Engineer, Google App Engine
> >>> plus.ikailan.com | twitter.com/ikai
>
> >>> On Wed, Dec 14, 2011 at 12:36 PM, Leandro Rezende <
> >>> [email protected]> wrote:
>
> >>>> thx Jeff, im using Datanucleus JDO
>
> >>>> 2011/12/14 Jeff Schnitzer <[email protected]>
>
> >>>>> You didn't mention which datastore API you are using.  It's different
> >>>>> for all of them.
>
> >>>>> If you're using the low-level API (or an API based on the low-level
> >>>>> API), you can use this:
>
> >>>>>http://code.google.com/p/objectify-appengine/wiki/MemcacheStandalone
>
> >>>>> I don't recommend trying to roll your own.  It's actually quite tricky
> >>>>> to get right without opening yourself up to synchronization issues
> >>>>> under contention.
>
> >>>>> Jeff
>
> >>>>> On Wed, Dec 14, 2011 at 2:47 PM, Leandro Rezende
> >>>>> <[email protected]> wrote:
> >>>>> > Hi, im planning to implement memcache on my application,
>
> >>>>> > i found this link
>
> >>>>>http://code.google.com/intl/en/appengine/articles/scaling/memcache.ht...
>
> >>>>> > but there arent any sample how to "Cache frequently fetched entities"
>
> >>>>> > i have googled it but didnt found any sample or source to learn how
> >>>>> to do
> >>>>> > it.
>
> >>>>> > Do u guys know any link to assist me? im developing using Java
>
> >>>>> > thx
>
> >>>>> > --
> >>>>> > You received this message because you are subscribed to the Google
> >>>>> Groups
> >>>>> > "Google App Engine" group.
> >>>>> > To post to this group, send email to
> >>>>> [email protected].
> >>>>> > To unsubscribe from this group, send email to
> >>>>> > [email protected].
> >>>>> > For more options, visit this group at
> >>>>> >http://groups.google.com/group/google-appengine?hl=en.
>
> >>>>> --
> >>>>> We are the 20%
>
> >>>>> --
> >>>>> You received this message because you are subscribed to the Google
> >>>>> Groups "Google App Engine" group.
> >>>>> To post to this group, send email to [email protected]
> >>>>> .
> >>>>> To unsubscribe from this group, send email to
> >>>>> [email protected].
> >>>>> For more options, visit this group at
> >>>>>http://groups.google.com/group/google-appengine?hl=en.
>
> >>>>  --
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "Google App Engine" group.
> >>>> To post to this group, send email to [email protected].
> >>>> To unsubscribe from this group, send email to
> >>>> [email protected].
> >>>> For more options, visit this group at
> >>>>http://groups.google.com/group/google-appengine?hl=en.
>
> >>>  --
> >>> You received this message because you are subscribed to the Google
> >>> Groups "Google App Engine" group.
> >>> To post to this group, send email to [email protected].
> >>> To unsubscribe from this group, send email to
> >>> [email protected].
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to