-->
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: would really appreciate caching advice
PostPosted: Wed Sep 15, 2004 10:29 pm 
Beginner
Beginner

Joined: Mon May 24, 2004 7:39 pm
Posts: 37
Location: Charlotte
I need a clustered cache and have tried SwarmCache and OSCache. Either both of these do not send a message when an object is updated or I'm doing something wrong. I'm assuming that I'm doing something wrong. Would someone please give me a good example of how to configure either OSCache or SwarmCache to have updates and deletes clear the necessary cache entries in all nodes in the cluster.

-----------------------------------------------------------
This is the configuration I have for OSCache (oscache.properties):
cache.memory=true
cache.persistence.class=com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener
cache.path=c:/temp/cache
cache.blocking=true

cache.event.listeners=com.opensymphony.oscache.plugins.clustersupport.JavaGroupsBroadcastingListener


----------------------------------------------------------
I had trouble finding documentation about configuring SwarmCache and just set the provider in the hibernate configuration file:
hibernate.cache.provider_class=net.sf.hibernate.cache.SwarmCacheProvider


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 16, 2004 2:44 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
http://www.hibernate.org/hib_docs/refer ... ance-cache

i think jboss tree cache is the best way to do cache with cluster

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 16, 2004 5:06 pm 
Beginner
Beginner

Joined: Mon May 24, 2004 7:39 pm
Posts: 37
Location: Charlotte
Thank you very much, Anthony. I'll check that out.


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.