Ikai,

I think you are right that the cache values are expiring via LRU as
sometimes only some elements of the cache are flushed.
But the question is my cache only has 20-30 entries and out of that 10 least
recently used entries are being flushed. Is there any way i can prevent this
flushing as i don't want to flush if the cache is so small instead i want
the cache only to flush LRU elements when the cache grows in size to maybe
100,000 entries.

Any clues ?

Thanks,
Rahul

----------------------------------------------------------
Rahul Juneja
http://techlabs.thoughtclicks.com


On Tue, Jun 1, 2010 at 6:56 PM, Ikai L (Google) <[email protected]> wrote:

> No, there isn't a default expiration. How are you setting values to the
> cache? Could you be expiring the items via LRU? That is - you're not using
> the items in the cache, instead setting other items and pushing the older,
> unused items out?
>
> On Wed, May 26, 2010 at 6:43 PM, Rahul <[email protected]> wrote:
>
>> I have a  memcache and not to mention it does live between different
>> jvm instances when new jvm instances starts, i can access the cache
>> but once a while i don't find any values in cache and this happened
>> twice in last 24 hours. Is there any default expiration which is less
>> then 24-48 hours which i am not aware of.
>>
>> Any help or pointers on this is appreciated.
>>
>> Thanks,
>> Rahul
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine-java%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog: http://googleappengine.blogspot.com
> Twitter: http://twitter.com/app_engine
> Reddit: http://www.reddit.com/r/appengine
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to