How do I know if I need replica shards?

Hi,

If I have setup a 3 node cluster, deployed one index with 20 shards.

How can I determine that my current setup is inadequate, and I need to add
one replica or two replica shards per primary shards?

Even if I add another data node, I may get 5 primary shards on each, now if
that distributes load evenly, what is the need for replica shards?

IMPORTANT: Please note that my query will not be specific to a group of
shards, I mean, there is no way, I can route or classify my query as only
hitting a subsection of shards. It will actually go to all shards for every
search query.

Appreciate your response.

Thanks,
Sandeep

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4a9b5272-bd56-483a-9231-551513a1c8e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Just want to add that my intention is not high availability or failover. It
is more w.r.t. how performance will improve in such a scenario?

I believe, only if you have more nodes or you current nodes are
underutilized, would you think of this. But how do you determine that?

Thanks
Sandeep

On Friday, 22 August 2014 12:46:16 UTC+5:30, Sandeep Ramesh Khanzode wrote:

Hi,

If I have setup a 3 node cluster, deployed one index with 20 shards.

How can I determine that my current setup is inadequate, and I need to add
one replica or two replica shards per primary shards?

Even if I add another data node, I may get 5 primary shards on each, now
if that distributes load evenly, what is the need for replica shards?

IMPORTANT: Please note that my query will not be specific to a group of
shards, I mean, there is no way, I can route or classify my query as only
hitting a subsection of shards. It will actually go to all shards for every
search query.

Appreciate your response.

Thanks,
Sandeep

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8294050a-0da9-4ee0-b9ac-1ea0e7985e47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.