How to choose your cloud scheme?


(Tarun Jangra) #1

I am experimenting most suitable cloud scheme. Cluster has three status Green, Yellow and Red. It is good to have Green cluster. I did so many experiments to choose this and finally get to the conclusion. It is always good to have N = R + 1. Where N is number of nodes and "R" is Number of replicas. So if you want to have 3 replicas than you should go for 4 nodes to keep the cluster status Green Which seems to me good.

I'm not sure if i am explaining in the right direction. Suggestions from someone experienced are highly appreciable.

Thank you.


(Lukáš Vlček) #2

Basically yes, also note that you can change number of replicas dynamically.

Lukas

On Fri, Oct 7, 2011 at 12:32 PM, Terry tarun@izap.in wrote:

I am experimenting most suitable cloud scheme. Cluster has tree status
Green,
Yellow, Red. It is good to have Green cluster. I did so many experiments to
choose this and finally get to the conclusion. It is always good to have N

R + 1. Where N is number of nodes and "R" is Number of replications. So if
you want to have 3 replicas than you should go for 4 nodes to keep the
cluster status Green Which seems to me good.

I'm not sure if i am explaining in the right direction. Suggestions from
someone experienced are highly appreciable.

Thank you.

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/How-to-choose-your-cloud-scheme-tp3402450p3402450.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(Tarun Jangra) #3

Thanks to confirm this.


(Shay Banon) #4

Yes, but note that you should really state: N > R + 1. You can have 10
nodes, with an index that has 5 shards and 2 replicas, and still benefit
from it as the shards will balance between the 10 nodes.

On Fri, Oct 7, 2011 at 12:32 PM, Terry tarun@izap.in wrote:

I am experimenting most suitable cloud scheme. Cluster has tree status
Green,
Yellow, Red. It is good to have Green cluster. I did so many experiments to
choose this and finally get to the conclusion. It is always good to have N

R + 1. Where N is number of nodes and "R" is Number of replications. So if
you want to have 3 replicas than you should go for 4 nodes to keep the
cluster status Green Which seems to me good.

I'm not sure if i am explaining in the right direction. Suggestions from
someone experienced are highly appreciable.

Thank you.

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/How-to-choose-your-cloud-scheme-tp3402450p3402450.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(Tarun Jangra) #5

Thanks for this wonderful piece of software. Nodes are simply directly proportional to replicas.


(system) #6