-->
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: Caching
PostPosted: Tue Oct 21, 2003 4:35 pm 
Newbie

Joined: Wed Oct 08, 2003 8:52 am
Posts: 10
Hi All,
I am writing a web application that allows the users to browse many
listings of items available for them to order. The items hardly ever change
and rarely updated, so I need the item to be readily available and ready
at all time. I wrote a small basic caching mechanism but would like to
learn how to hook that up with Hibernate so that it does not get the
existing information from the database if it is already in the cache.
Right now there are 6000+ users and 5000+ items.


Thanks
Doug


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 4:47 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
net.sf.hibernate.UserType?

net.sf.hibernate.cache.Cache?

why not just use Hibernate's built-in caching??


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 22, 2003 11:05 am 
Newbie

Joined: Wed Oct 08, 2003 8:52 am
Posts: 10
gavin wrote:
net.sf.hibernate.UserType?

net.sf.hibernate.cache.Cache?

why not just use Hibernate's built-in caching??


-----
Gavin,
Thank you for the information. I did use JCS but the performance for bringing back the listd wrtr still quite slow but I'll revisit again with other alternatives very soon here. I was looking at SwarmCache but have not seen any configuration to have a permanent caching section using it.


Thank You

Doug


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.