Hibernate query cache
May 5, 2008
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=15
Entry Filed under: hibernate, persistence. Tags: hibernate, persistence.
3 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
Nitin | January 15, 2009 at 12:37 pm
I need some help in designing a best possible solution for my problem:
I am developing an application using Spring, Hibernate and I have made use of Ehcache as the second level cache.
It is a AJAX application and I need help in designing one feature. In the application, a user is required to do a AJAX style search of his contacts. (Just like contacts are shown in gmail while selecting the recipients or other mail clients).
What would be the best approach to design this? I plan to put some meta data of the contacts into a cache or HTTP session so that the contacts can be searched from the memory instead of the DB.
I am sure that this is a standard practice for most of the applications. But still, what is the best practice to do such operations. Any pointer to examples with Spring, Hibernate would be great help. What type of cache in Ehcache should be used for this? Should I make use of the QueryCache here?
2.
Stefan Lecho | January 19, 2009 at 11:17 am
Did you had the time to “In the next set of blogs will try to get into the cache concurrency strategy and how it impacts us from a performance perspective.” ?
3.
apurba | January 20, 2009 at 9:12 am
Slipped off my mind, would get back to do it, should have something in the next few weeks.