Welcome! Log In Create A New Profile

Advanced

Cache not expiring

Posted by Jack 
Jack
Cache not expiring
September 16, 2010 11:30AM
Hi All,

I have a set of objects in my Cache. I have set the expiration time to
be 6 hours.
I can see that there are many objects still coming from cache, which,
ideally, should have expired.
As a result, i have stale data in my application. It doesnt happen in
all cases. Some objects are coming from cache (stale data) while some
of the objects are coming from the database (updated data).

Can you guys give me some pointers on what's going wrong here?
Thanks in advance for your help.

-Jack
Brian Moon
Re: Cache not expiring
September 16, 2010 05:01PM
On 9/16/10 4:19 AM, Jack wrote:
> Hi All,
>
> I have a set of objects in my Cache. I have set the expiration time to
> be 6 hours.
> I can see that there are many objects still coming from cache, which,
> ideally, should have expired.
> As a result, i have stale data in my application. It doesnt happen in
> all cases. Some objects are coming from cache (stale data) while some
> of the objects are coming from the database (updated data).
>
> Can you guys give me some pointers on what's going wrong here?
> Thanks in advance for your help.
>
> -Jack

What language? example code?

--

Brian.
--------
http://brian.moonspot.net/
Sorry, only registered users may post in this forum.

Click here to login