[infinispan-dev] Recommended Cluster Size for Replication Mode

Mircea Markus mmarkus at redhat.com
Fri Aug 9 09:43:54 EDT 2013


On 6 Aug 2013, at 15:19, Faseela K <faseela.k at ericsson.com> wrote:

>    What is the recommended cluster size for Replication Mode?
>    Given 3 nodes, My replication configuration performs better than my distributed configuration.
>    Just wanted to know, at what cluster size, distribution will perform better than replication.

There's no straight answer, it depends on the read/write ratio and the amount of data you store. 
Replication will always perform better for reads as it won't involve a remote call to get the data.
If you're mostly doing reads and your memory allows (replication is more memory consuming) then you should use replication.
If the amount of data increases or you're doing more writes, distribution is the way to go.

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)







More information about the infinispan-dev mailing list