-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: how to refresh ehcache stale data(SOLUTION FOUND FINALLY)
PostPosted: Tue Sep 26, 2006 9:53 pm 
Newbie

Joined: Fri Sep 01, 2006 10:08 pm
Posts: 4
Location: Mass
I had the requirenment where users keep populating the data in cache and they didnt want the cache objects to expire as they dont want a delay of 8 min when the cache gets first populated(the query used to take hell lot of time)
I designed a system which keeps populating the cache with all the objects of users interest and then at night when the database is updated by another application we run a script(enclosing a java prog) which
1) Find all the objects in the cache
2) Update them from the fresh data from database
3) And the objects are ready to be used by the users with the response time as expected

Basically its a self refreshing never dying cache

I found in this forum that many people are suffering the same problem
Should anybody have interest in this solution please feel free to contact me

I will definatly post the solution

Thanks
Rahul


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.