-->
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.  [ 3 posts ] 
Author Message
 Post subject: Second Level Cache Usage
PostPosted: Mon Mar 08, 2004 9:11 pm 
Newbie

Joined: Mon Mar 08, 2004 8:56 pm
Posts: 5
Hi

I would like to use cache but I don't know which cache strategy to use. What are the differences between the four cache strategies? I've read the Hibernate References but I am not fully understand.

Let say I have an article table which contains a list of articles for my website. New articles are inserted frequently and occasionally some of these articles get edited. Should I use 'read-write'? If I use this strategy and when new article is added, will Hibernate refresh the cache?

I am using Struts, OSCache, PostgreSQL 7.4.1 and Hibernate 2.1.2

_________________
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 09, 2004 6:20 pm 
Newbie

Joined: Mon Mar 08, 2004 8:56 pm
Posts: 5
Is something wrong with my question? Surely, it's not that hard to answer such question.

_________________
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 09, 2004 6:22 pm 
Expert
Expert

Joined: Thu Jan 08, 2004 6:17 pm
Posts: 278
One quick answer is, do you need *any* cache? Is the lack of caching a bottleneck for your app?

I agree that the cache documentation could use some work. (oh, for the book!) I don't actually know what cache setting to recommend.

Cheers,
Rob


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

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.