Moved to infinispan forum.
I am going to configure two containers on each jboss node while using Infinispan cache. One of the container will contain 3 local caches and the other one will contain the 9 local caches for my application that i am migrating from Jboss PojoCache to Infinispan.
Local caches are fine. The overhead compared to java.util.Map is small. Also, adding more or less local caches will have miniscule performance implication.
Also interested to know if increasing the number of containers per node will hit the performance of Infinispan cache OR it is the number of caches per container that will impact the Infinispan cache badly?
Number of cache containers.
But of course, the biggest performance hogger will be going from local to distributed cache...
I am just trying to strike a good configuration scenario with a "number or range of numbers" of containers and caches per node in local cache as well as clustered application (in future we may choose to have replicated/distributed cache).
My favorite advice: test! Because there is no silver bullet for all the cases.
Thanka a lot really informative.