-
1. Re: New Cache Server
brenuart Feb 7, 2011 4:50 AM (in response to glsgolden)Well, simply read the docs, as usual:
- Infinispan: http://community.jboss.org/wiki/UsingInfinispanasJPAHibernateSecondLevelCacheProvider or http://community.jboss.org/wiki/InfinispanTechnicalFAQs (section named "Hibernate 2nd Level Cache")
- Hibernate: http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html_single/#performance-cache
-
2. Re: New Cache Server
glsgolden Feb 7, 2011 5:28 AM (in response to brenuart)Thanks Renuart,
But i want to setup the new machine as a second level cache server for hibernate.
i did not get any think which help me to setup the second level cache of hibernate on another machine.
Thanks
Ganesh Shirsat
-
3. Re: New Cache Server
brenuart Feb 7, 2011 5:33 AM (in response to glsgolden)So you want to run a first machine if an Hibernate-powered application, configure it such that Hibernate on this machine would use an Infinispan remote cache as 2nd level cache hosted on another machine ?
Sorry, but I don't see the rational behind this setup... usually, the 2nd level cache is kept on the same host as Hibernate...
Anyway, Infinispan has something called RemoteCache which is simply a client to access a remote cache (hence the name). Maybe you should look into that direction...
-
4. Re: New Cache Server
glsgolden Feb 8, 2011 3:32 AM (in response to brenuart)Thanks for reply
yes. i am looking a remote cache machine.
-
5. New Cache Server
galder.zamarreno Feb 10, 2011 12:33 PM (in response to glsgolden)Ganesh, see my comment in http://community.jboss.org/message/575814#575814 - I don't think you're getting much out of having a second level cache in a separate machine.
-
6. New Cache Server
galder.zamarreno Feb 23, 2011 9:00 AM (in response to galder.zamarreno)Added a section using Infinispan as remote second level cache to http://community.jboss.org/docs/DOC-14105