-
1. Re: Infinispan Clustered cache , Two different physical machines
manik Feb 21, 2012 6:47 AM (in response to kowshikns)1 of 1 people found this helpfulFirstly, it makes sense to upgrade to 7.1.0.Final which is out now. It contains Infinispan 5.1.1.Final too.
Why do you want to use distributed with just 2 nodes? That doesn't make a lot of sense - replicated is probably more useful for you.
-
2. Re: Infinispan Clustered cache , Two different physical machines
nadirx Feb 21, 2012 7:59 AM (in response to kowshikns)Here is a snippet of AS7.1 configuration for a distributed synchronous cache:
<distributed-cache name="myDistCache" mode="SYNC" owners="2" />
and here is a replicated synchronous cache
<replicated-cache name="myReplCache" mode="SYNC" />
There is a jboss-as-infinispan_1_1.xsd schema file distributed with JBoss AS7.1 which gives some insight into all the possible attributes.
-
3. Re: Infinispan Clustered cache , Two different physical machines
kowshikns Feb 23, 2012 7:12 AM (in response to kowshikns)Thanks Manik, Tristan.
As per Maniks suggestion , I upgraded to 7.1.0 Final and using replicated cache. Caching works. Manik , I am using two different physical machines ( running 3 servers /Jboss Instance ) on each machine. The idea was to get extra benefit of Distributed cache so that there will be cache space availabe at any given point of time. Please correct me if I views on distributed cache are wrong