-->
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: Caching missed hits
PostPosted: Tue Nov 07, 2006 10:22 pm 
Newbie

Joined: Wed Oct 25, 2006 3:26 pm
Posts: 7
I've only looked at ehcache, and haven't found this option. I'm wondering if anyone knows if any other cache provider has the following feature:

I would like the caching provider to cache both successful lookups as well as unsuccessful lookups.

Our system is such that there are many unsuccessful lookups. When using ehcache, each unsuccessful lookup initiates its own SELECT. It would be wonderful to cache the failed lookup by the id, and cache a null value - which would be sent back after another get into the cache by any query using the same id, until ( of course ) the element expires.

Thoughts ?
-Mike


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.