Our version of Memcache is a bit different. There are two LRUs for Memcache:
an app specific LRU and a global LRU for that Memcache instance. Users of
Memcache find that if some value has not been accessed in ~a few hours, they
are typically evicted due to the global LRU.

While this might be unfriendly to smaller apps, if you're caching data that
you are accessing once every few hours for performance reasons, this can be
a premature optimization. If you need something to survive longer, it would
probably work better in the datastore or with the datastore using Memcache
as a write-through cache.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Tue, Sep 6, 2011 at 10:54 AM, yinhm <[email protected]> wrote:

> Sad to hear this.
>
> On Fri, Sep 2, 2011 at 3:08 PM, keakon lolicon <[email protected]> wrote:
> > Without memcache, the free quota will be used up in less than 500 PVs (I
> > also need fetch articles, comments, etc.). Though I have used memcache
> very
> > aggressively, I have no way to handle 10k PVs within the free quota since
> > the memcache often loses the cached data.
>
>
> I also suffered from this.
>
> memcache server very unfriendly to small apps.
>
> I remember google says they hardly drop memcached data.
> However, my experience was when instance down, and then a request comes,
> new instance up,  the cached data may not be there, is this cause to
> instance start from
> another datacenter or the cached data just droped when there is no
> instance running?
>
>
> --
> Regards,
> twitter:@yinhm
> 有微码头:http://yinhm.appspot.com
> github: https://github.com/yinhm
>
> --
> 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