# Design question

**URL:** <https://discuss.elastic.co/t/design-question/14432>\
**Category:** Elasticsearch\
**Created:** [November 15, 2013, 6:17pm UTC](https://discuss.elastic.co/t/design-question/14432 "2013-11-15T18:17:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 15, 2013, 6:17pm UTC](https://discuss.elastic.co/t/design-question/14432/1 "2013-11-15T18:17:07Z")

</div>

Is there any advantage of keeping Master Node separate from Data Node? I  
can't think of a possible reason why one would want to keep them separate.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 15, 2013, 6:39pm UTC](https://discuss.elastic.co/t/design-question/14432/2 "2013-11-15T18:39:49Z")

</div>

Hey,

stability can be one of the reasons. As your data nodes can go out of  
memory if you fire up certain queries, you do not want the cluster  
stability impacted by this. A strategy to circumvent this problem is to  
have a couple of data and master only nodes.

Hope this helps,

--Alex

On Fri, Nov 15, 2013 at 7:17 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> Is there any advantage of keeping Master Node separate from Data Node? I  
> can't think of a possible reason why one would want to keep them separate.
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 15, 2013, 6:50pm UTC](https://discuss.elastic.co/t/design-question/14432/3 "2013-11-15T18:50:41Z")

</div>

But if there are issues with data nodes that would impact the user requests  
anyways, correct?

On Fri, Nov 15, 2013 at 10:39 AM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de)wrote:

> Hey,
> 
> stability can be one of the reasons. As your data nodes can go out of  
> memory if you fire up certain queries, you do not want the cluster  
> stability impacted by this. A strategy to circumvent this problem is to  
> have a couple of data and master only nodes.
> 
> Hope this helps,
> 
> --Alex
> 
> On Fri, Nov 15, 2013 at 7:17 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > Is there any advantage of keeping Master Node separate from Data Node? I  
> > can't think of a possible reason why one would want to keep them separate.
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Shuai\_Lin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shuai_lin/32/1980_2.png) [@Shuai\_Lin](https://discuss.elastic.co/u/Shuai_Lin)\
**Post date:** [November 16, 2013, 3:48am UTC](https://discuss.elastic.co/t/design-question/14432/4 "2013-11-16T03:48:33Z")

</div>

I guess you mean "data node" and "non data node"?

A shard of an index is replicated across the data nodes (you can config the  
number of replicas). In case of some data node failure, your user would not  
be impacted as long there is one replica available,

On Sat, Nov 16, 2013 at 2:50 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> But if there are issues with data nodes that would impact the user  
> requests anyways, correct?
> 
> On Fri, Nov 15, 2013 at 10:39 AM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de)wrote:
> 
> > Hey,
> > 
> > stability can be one of the reasons. As your data nodes can go out of  
> > memory if you fire up certain queries, you do not want the cluster  
> > stability impacted by this. A strategy to circumvent this problem is to  
> > have a couple of data and master only nodes.
> > 
> > Hope this helps,
> > 
> > --Alex
> > 
> > On Fri, Nov 15, 2013 at 7:17 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > Is there any advantage of keeping Master Node separate from Data Node? I  
> > > can't think of a possible reason why one would want to keep them separate.
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Justin\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_2/32/1977_2.png) [@Justin\_2](https://discuss.elastic.co/u/Justin_2)\
**Post date:** [November 16, 2013, 4:24am UTC](https://discuss.elastic.co/t/design-question/14432/5 "2013-11-16T04:24:58Z")

</div>

Do you mean physically separated in the LAN or WAN/VPN or not running data  
node service on a master?  
On Nov 15, 2013 1:17 PM, "Mohit Anchlia" [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:

> Is there any advantage of keeping Master Node separate from Data Node? I  
> can't think of a possible reason why one would want to keep them separate.
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 16, 2013, 4:42am UTC](https://discuss.elastic.co/t/design-question/14432/6 "2013-11-16T04:42:45Z")

</div>

I mean not running master + data on the same node and keeping them separate.

On Fri, Nov 15, 2013 at 8:24 PM, Justin [tcpandip@gmail.com](mailto:tcpandip@gmail.com) wrote:

> Do you mean physically separated in the LAN or WAN/VPN or not running data  
> node service on a master?  
> On Nov 15, 2013 1:17 PM, "Mohit Anchlia" [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:
> 
> > Is there any advantage of keeping Master Node separate from Data Node? I  
> > can't think of a possible reason why one would want to keep them separate.
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Norberto\_Meijome](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Norberto\_Meijome](https://discuss.elastic.co/u/Norberto_Meijome)\
**Post date:** [November 16, 2013, 6:52am UTC](https://discuss.elastic.co/t/design-question/14432/7 "2013-11-16T06:52:50Z")

</div>

We've found keeping them separate ( different servers /instances ) evens  
out CPU usage ... The master node would get starved of CPU and drag down  
the whole cluster performance ( and sometimes affected cluster health) .  
not sure how would this work with multiple nodes with different settings on  
the same box...  
Is there any advantage of keeping Master Node separate from Data Node? I  
can't think of a possible reason why one would want to keep them separate.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:06am UTC](https://discuss.elastic.co/t/design-question/14432/8 "2017-07-06T02:06:39Z")

</div>


