# Node Replicas suggestion on production environment

**URL:** https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195
**Category:** Elasticsearch
**Created:** [June 23, 2015, 12:16pm UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195 "2015-06-23T12:16:15Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [June 23, 2015, 12:16pm UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/1 "2015-06-23T12:16:15Z")

</div>

Hi All,

I have four node cluster established for production i have 5 shards and 1 replica is there for every index. Four nodes are master and data enabled.Now can I increase replica to 2 to increase search performance on cluster please suggest me how can we get more search performance.

Thanks  
phani

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 23, 2015, 9:27pm UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/2 "2015-06-23T21:27:34Z")

</div>

Are you having performance problems now? How are you measuring this?

What does your config look like? What specs are your nodes?

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [June 24, 2015, 6:07am UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/3 "2015-06-24T06:07:00Z")

</div>

Hi Mark,

we have designed search applications based on elastic search.Now performance of search is fine and we are getting results faster.on my node search apps goes on increasing day by day.so I read in es guide increasing replicas for index will increase search performance i thought like if search apps increasing we will hit more index request so es should server all those requests.as of now performance wise we are good.  
I am measuring speed from search apps based on elastic search.nodes are establish on different servers on RHEL enterprise 6.5 operating system and i have 3 core processor on each node and 24 GB of RAM for each node.configured 12GB heapsapce for each node.all es configurations are defined in /etc/sysconfig/elasticsearch  
file like directory paths and heapspace etc...

Thanks  
phani

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 24, 2015, 6:08am UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/4 "2015-06-24T06:08:20Z")

</div>

Replicas add concurrency, which can definitely improve performance.  
This is something you would need to test and measure though.

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [June 24, 2015, 6:42am UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/5 "2015-06-24T06:42:50Z")

</div>

Okay Mark Thank you and please suggest me with above 4 node architecture is it safe to add 2 replicas for each index ?

Thanks  
phani

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 24, 2015, 9:53pm UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/6 "2015-06-24T21:53:37Z")

</div>

It's safe but may be overkill.

You also really want an uneven number of nodes to protect against the possibility of a split brain.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [June 25, 2015, 5:31am UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/7 "2015-06-25T05:31:33Z")

</div>

> [@warkolm](#):
>
> You also really want an uneven number of nodes to protect against the possibility of a split brain.

But as long as discovery.zen.minimum\_master\_nodes is set to N/2+1 an even N should be fine, right?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 25, 2015, 5:40am UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/8 "2015-06-25T05:40:07Z")

</div>

True.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 12:05am UTC](https://discuss.elastic.co/t/node-replicas-suggestion-on-production-environment/24195/9 "2017-07-06T00:05:31Z")

</div>


