# Questions about dedicated master & client node

**URL:** <https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723>\
**Category:** Elasticsearch\
**Created:** [May 29, 2015, 2:44pm UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723 "2015-05-29T14:44:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [May 29, 2015, 2:44pm UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/1 "2015-05-29T14:44:15Z")

</div>

Right now we only need 4 ES nodes due to the small data volume, and all 4  
nodes are master & data nodes.

Q1:  
I am wondering in this case, is it necessary to have dedicated master and  
client node? Any benefit of having dedicated master node?

Some one said that dedicated master nodes (say, three master nodes) is  
helpful to avoid the split brain issue, but even we have NO dedicated  
master nodes, we can also avoid the split brain by setting the \*discovery.zen.minimum\_master\_nodes  
\*to a appropriate value.

Q2:  
Similarly, is dedicated client node really necessary in our 4 nodes case?  
Any benefit of allocating dedicated client node?

Thanks!

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [May 29, 2015, 2:54pm UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/2 "2015-05-29T14:54:22Z")

</div>

Dedicated master nodes are super convenient if you have the it  
infrastructure to host them on shared machines because they are very low  
load and its useful to be able to restart the master nodes quickly. We  
don't have that kind of infrastructure and our cluster is pretty large and  
not having it has bitten us once or twice but its not a huge problem.

On Fri, May 29, 2015 at 10:44 AM, Xudong You [xudong.you@gmail.com](mailto:xudong.you@gmail.com) wrote:

> Right now we only need 4 ES nodes due to the small data volume, and all 4  
> nodes are master & data nodes.
> 
> Q1:  
> I am wondering in this case, is it necessary to have dedicated master and  
> client node? Any benefit of having dedicated master node?
> 
> Some one said that dedicated master nodes (say, three master nodes) is  
> helpful to avoid the split brain issue, but even we have NO dedicated  
> master nodes, we can also avoid the split brain by setting the \*discovery.zen.minimum\_master\_nodes  
> \*to a appropriate value.
> 
> Q2:  
> Similarly, is dedicated client node really necessary in our 4 nodes case?  
> Any benefit of allocating dedicated client node?
> 
> Thanks!
> 
> ## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)
> 
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0gvw%2BKvgGzX7Fq32u04ofQy5t9BAvZUr6\_PvZRGFm\_tA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0gvw%2BKvgGzX7Fq32u04ofQy5t9BAvZUr6_PvZRGFm_tA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [May 30, 2015, 2:11pm UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/3 "2015-05-30T14:11:36Z")

</div>

Thanks Nikolas,  
How do you think about dedicated "client node" (the so called load balance  
node)? Any benefit of dedicated client node? Seems to me, round robin to  
data nodes is good enough.

On Friday, May 29, 2015 at 10:55:01 PM UTC+8, Nikolas Everett wrote:

> Dedicated master nodes are super convenient if you have the it  
> infrastructure to host them on shared machines because they are very low  
> load and its useful to be able to restart the master nodes quickly. We  
> don't have that kind of infrastructure and our cluster is pretty large and  
> not having it has bitten us once or twice but its not a huge problem.
> 
> On Fri, May 29, 2015 at 10:44 AM, Xudong You \<[xudon...@gmail.com](mailto:xudon...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Right now we only need 4 ES nodes due to the small data volume, and all 4  
> > nodes are master & data nodes.
> > 
> > Q1:  
> > I am wondering in this case, is it necessary to have dedicated master and  
> > client node? Any benefit of having dedicated master node?
> > 
> > Some one said that dedicated master nodes (say, three master nodes) is  
> > helpful to avoid the split brain issue, but even we have NO dedicated  
> > master nodes, we can also avoid the split brain by setting the \*discovery.zen.minimum\_master\_nodes  
> > \*to a appropriate value.
> > 
> > Q2:  
> > Similarly, is dedicated client node really necessary in our 4 nodes case?  
> > Any benefit of allocating dedicated client node?
> > 
> > Thanks!
> > 
> > ## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)
> > 
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![James\_Macdonald](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@James\_Macdonald](https://discuss.elastic.co/u/James_Macdonald)\
**Post date:** [May 30, 2015, 4:25pm UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/4 "2015-05-30T16:25:42Z")

</div>

If it is good enough for you, it is good enough for you. I will just give  
you one anecdote: We implemented 3 dedicated clients on a 9 data node  
cluster and got a 2x performance improvement. Moving the query  
coordination, network io (has to receive data from every shard), and  
combination of results (aggs and sorts) off of the nodes providing the  
results is very helpful.

James

On Sat, May 30, 2015 at 9:11 AM, Xudong You [xudong.you@gmail.com](mailto:xudong.you@gmail.com) wrote:

> Thanks Nikolas,  
> How do you think about dedicated "client node" (the so called load balance  
> node)? Any benefit of dedicated client node? Seems to me, round robin to  
> data nodes is good enough.
> 
> On Friday, May 29, 2015 at 10:55:01 PM UTC+8, Nikolas Everett wrote:
> 
> > Dedicated master nodes are super convenient if you have the it  
> > infrastructure to host them on shared machines because they are very low  
> > load and its useful to be able to restart the master nodes quickly. We  
> > don't have that kind of infrastructure and our cluster is pretty large and  
> > not having it has bitten us once or twice but its not a huge problem.
> > 
> > On Fri, May 29, 2015 at 10:44 AM, Xudong You [xudon...@gmail.com](mailto:xudon...@gmail.com) wrote:
> > 
> > > Right now we only need 4 ES nodes due to the small data volume, and all  
> > > 4 nodes are master & data nodes.
> > > 
> > > Q1:  
> > > I am wondering in this case, is it necessary to have dedicated master  
> > > and client node? Any benefit of having dedicated master node?
> > > 
> > > Some one said that dedicated master nodes (say, three master nodes) is  
> > > helpful to avoid the split brain issue, but even we have NO dedicated  
> > > master nodes, we can also avoid the split brain by setting the \*discovery.zen.minimum\_master\_nodes  
> > > \*to a appropriate value.
> > > 
> > > Q2:  
> > > Similarly, is dedicated client node really necessary in our 4 nodes  
> > > case? Any benefit of allocating dedicated client node?
> > > 
> > > Thanks!
> > > 
> > > ## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)
> > > 
> > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)
> 
> * * *
> 
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAABsnTbQispJSH%3D7\_wbk-W5%2BmMq1\_4Yy2Mxeh8RL%2BAAYeaRx6g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAABsnTbQispJSH%3D7_wbk-W5%2BmMq1_4Yy2Mxeh8RL%2BAAYeaRx6g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [May 31, 2015, 7:21am UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/5 "2015-05-31T07:21:24Z")

</div>

Thanks James's sharing.  
Does your client node has same performance (CPU & memory) as data node or  
lower perf?

On Sunday, May 31, 2015 at 12:25:58 AM UTC+8, James Macdonald wrote:

> If it is good enough for you, it is good enough for you. I will just give  
> you one anecdote: We implemented 3 dedicated clients on a 9 data node  
> cluster and got a 2x performance improvement. Moving the query  
> coordination, network io (has to receive data from every shard), and  
> combination of results (aggs and sorts) off of the nodes providing the  
> results is very helpful.
> 
> James
> 
> On Sat, May 30, 2015 at 9:11 AM, Xudong You \<[xudon...@gmail.com](mailto:xudon...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Thanks Nikolas,  
> > How do you think about dedicated "client node" (the so called load  
> > balance node)? Any benefit of dedicated client node? Seems to me, round  
> > robin to data nodes is good enough.
> > 
> > On Friday, May 29, 2015 at 10:55:01 PM UTC+8, Nikolas Everett wrote:
> > 
> > > Dedicated master nodes are super convenient if you have the it  
> > > infrastructure to host them on shared machines because they are very low  
> > > load and its useful to be able to restart the master nodes quickly. We  
> > > don't have that kind of infrastructure and our cluster is pretty large and  
> > > not having it has bitten us once or twice but its not a huge problem.
> > > 
> > > On Fri, May 29, 2015 at 10:44 AM, Xudong You [xudon...@gmail.com](mailto:xudon...@gmail.com) wrote:
> > > 
> > > > Right now we only need 4 ES nodes due to the small data volume, and all  
> > > > 4 nodes are master & data nodes.
> > > > 
> > > > Q1:  
> > > > I am wondering in this case, is it necessary to have dedicated master  
> > > > and client node? Any benefit of having dedicated master node?
> > > > 
> > > > Some one said that dedicated master nodes (say, three master nodes) is  
> > > > helpful to avoid the split brain issue, but even we have NO dedicated  
> > > > master nodes, we can also avoid the split brain by setting the \*discovery.zen.minimum\_master\_nodes  
> > > > \*to a appropriate value.
> > > > 
> > > > Q2:  
> > > > Similarly, is dedicated client node really necessary in our 4 nodes  
> > > > case? Any benefit of allocating dedicated client node?
> > > > 
> > > > Thanks!
> > > > 
> > > > ## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)
> > > > 
> > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > To view this discussion on the web visit  
> > > > [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/de7db788-a6d2-48c2-934b-bc5f7ae311a9%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > Please update your bookmarks! We have moved to  
> > > [https://discuss.elastic.co/](https://discuss.elastic.co/)
> > 
> > * * *
> > 
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/d61afae2-2e47-4b65-866b-5a55d28b84ea%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6a178f09-b94f-4400-9267-bec1f5278ba0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6a178f09-b94f-4400-9267-bec1f5278ba0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![gphadke](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gphadke](https://discuss.elastic.co/u/gphadke)\
**Post date:** [July 5, 2016, 6:30pm UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/6 "2016-07-05T18:30:27Z")

</div>

Hello  
Can you please share the client node hardware specs?

---

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [July 6, 2016, 1:26am UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/7 "2016-07-06T01:26:10Z")

</div>

Right now, our client node hosted on VM with 8 Cores CPU and 14 GB memory.

---

<div class="post-metadata">

**Author:** ![gphadke](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gphadke](https://discuss.elastic.co/u/gphadke)\
**Post date:** [July 6, 2016, 4:26am UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/8 "2016-07-06T04:26:03Z")

</div>

Is it possible to share the your cluster details, how many nodes etc?  
Also, did you se any performance improvement after adding the client node?

---

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [July 7, 2016, 7:10am UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/9 "2016-07-07T07:10:28Z")

</div>

Here our cluster info:

data node: 3 VMs, 8 Cores/14GB  
Client node: 6 VMs, 8 Cores/14GB  
master node: 3 VMs, 4 Cores/7G

Regarding perf testing, we did not compare the perf between have-client and no-client approach.

---

<div class="post-metadata">

**Author:** ![gphadke](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gphadke](https://discuss.elastic.co/u/gphadke)\
**Post date:** [July 7, 2016, 1:13pm UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/10 "2016-07-07T13:13:04Z")

</div>

Thanks.

---

<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 5, 2017, 10:37pm UTC](https://discuss.elastic.co/t/questions-about-dedicated-master-client-node/23723/11 "2017-07-05T22:37:23Z")

</div>


