Re: [appengine-java] MemCache expiring around once a day

2010-06-02 Thread Rahul Juneja
Ikai, Yes you are right the expensive part is initializing the EntityManagerFactory in my case. Is there any way we can improve the performance on that. Thanks, Rahul -- Rahul Juneja http://techlabs.thoughtclicks.com On Wed, Jun 2, 2010

Re: [appengine-java] MemCache expiring around once a day

2010-06-01 Thread Rahul Juneja
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

Re: [appengine-java] MemCache expiring around once a day

2010-06-01 Thread Rahul Juneja
-- Rahul Juneja http://techlabs.thoughtclicks.com On Tue, Jun 1, 2010 at 9:41 PM, Ikai L (Google) ika...@google.com wrote: The items will get flushed if they are not getting used. If you're using items once every 24 hours ... you probably do not need a cache. Use the datastore instead. Rather

Re: [appengine-java] Re: MemCache expiring around once a day - Cache Flushing

2010-05-27 Thread Rahul Juneja
doesn't flush any attributes from my cache. Thanks, Rahul -- Rahul Juneja http://techlabs.thoughtclicks.com On Thu, May 27, 2010 at 9:40 AM, Rahul rahul.jun...@gmail.com wrote: Surprisingly, My cache has removed some elements from

Re: [appengine-java] Re: Does Memcache persist if all JVMs go to JVM heaven?

2010-05-26 Thread Rahul Juneja
You can call the factory any times it doesn't matter it will return you the same cache. Thanks, Rahul -- Rahul Juneja http://techlabs.thoughtclicks.com 2010/5/26 ViĆ°ar Svansson vidarsv...@gmail.com I am curious, does it matter if I call