I wrote an app to test this; it looks like there is currently a per-
app hard limit of ~10mb in the entire cache (that's compressed data;
not text) and maybe a ~22k hard key/value limit as well. These may
even be burst limits, because a few minutes later I can only squeeze
8.9mb into the cache and that number has been gradually falling from
10.

Hopefully in the future we can buy our memcache quota. I really like
the idea of using memcache for non-critical deferred writes as
discussed in Google IO, but nervous about building an app around this
usage pattern when the behavior of the cache is so unspecified.

On Aug 26, 2:43 pm, Devel63 <[email protected]> wrote:
> Can someone from Google comment on this?  This seems pretty
> important...
>
> You don't have to give a hard number, but 8K items isn't much, and
> could cause some re-architecting to be needed.
>
> On Aug 25, 6:13 am, Colin <[email protected]> wrote:
>
> > Mymemcachestats, expire time is 48h, non of the itemd are older than
> > 5h, but often items that should be in the cache aren't there:
> > - items: 8423
> > - bytes: 10655912
>
> > I (wrongly) assumed that i hit the size limit once i had 25mb of data
> > inmemcache, i optimized (compressed and pickled data before putting
> > it in the cache) and now i hit the limit  at roughly 10mb :/
> > Thus my conclusion: there is an item limit at about 8k.
>
> > On 13 aug, 17:11, ted stockwell <[email protected]> wrote:
>
> > > Hi Jeff,
>
> > > A question....
> > > Can I assume that thememcachesize limit will increase as the number
> > > of servers running my application increases?
>
> > > On Aug 10, 5:53 pm, "Jeff S (Google)" <[email protected]> wrote:
>
> > > > The overallmemcachesize limit is not set in stone so we usually don't 
> > > > give
> > > > a hard number as whatever I say might soon be out of date. I recommend 
> > > > using
> > > > as you need it because if your app goes over it's allotment, then the
> > > > less-used data is evicted.
--~--~---------~--~----~------------~-------~--~----~
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