-
1. Re: Infinispan and horizontal partitioning
manik Jun 23, 2011 11:16 AM (in response to r0nan)Yes it can. Use distributed mode, which is a horizontally partitioned store.
-
2. Re: Infinispan and horizontal partitioning
r0nan Jun 24, 2011 2:00 AM (in response to manik)Hey Manik.
Thanks your answer. I guess Infinispan will use a hash algorithm across the nodes. Is there any other algorithm which i can use in that case? For example: range or value?
Another question: Is it possible to use Infinispan as Hibernate L2 cache in distributed mode? So basicly can i use distributed mode above a lot of Hibernate enabled databas(es)?
Cheers.
-
3. Re: Infinispan and horizontal partitioning
galder.zamarreno Jul 21, 2011 2:15 PM (in response to r0nan)You shouldn't need to worry about the hash algorithm.
Nothing stops you from using distribution with Hibernate 2LC, but it kinda defeats the purpouse of a cache where data is quickly available locally and so can result in cache reads having to go remote and so if you need to go remote, might as well go to the database. But as always, try and test and see what works best for your use case