Sue
Joined: 06/07/2010 09:40:40
Messages: 1
Offline
|
Hi,
Our requirement is to cache certain ammount of data from database to improve the performance say as for maximum 3000 required users. When the request comes in for new user (beyond the max limit) to store in cache, we have to delete the oldest inactive user object from the memory and add the new user to cache. Is there a way to identify the most inactive object in space4j or do we need to maintain some sort of property.
The next question is regarding the recovery, as our requirement is to hold only maximum 3000 user records in cache, suppose from the begining of the system usage we cached in total 5000 user records but deleted 2000 of them while adding new records, when the service restarts how can we avoid the log command for the deleted objects?
From the recent forums, I seen that the library has been updated with fix to the issues reported recently, which version of jar do I have to download, is it stable version or beta version.
Thanks,
Sue
|