# Using ES' own load balancing functionality

**URL:** <https://discuss.elastic.co/t/using-es-own-load-balancing-functionality/14391>\
**Category:** Elasticsearch\
**Created:** [November 13, 2013, 7:59pm UTC](https://discuss.elastic.co/t/using-es-own-load-balancing-functionality/14391 "2013-11-13T19:59:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nfwlpw](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@nfwlpw](https://discuss.elastic.co/u/nfwlpw)\
**Post date:** [November 13, 2013, 7:59pm UTC](https://discuss.elastic.co/t/using-es-own-load-balancing-functionality/14391/1 "2013-11-13T19:59:04Z")

</div>

I'm a bit confused about one thing, reading the comments in  
elasticsearch.yml:

# 3. You want this node to be neither master nor data node, but

# to act as a "search load balancer" (fetching data from nodes,

# aggregating results, etc.)

# 

# node.master: false

# node.data: false

My questions are:

1. So if I want to use this set up, should I just let my client know only  
this node?

2. Then what happens when this node goes down?

Thanks.

--  
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:** ![nfwlpw](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@nfwlpw](https://discuss.elastic.co/u/nfwlpw)\
**Post date:** [November 13, 2013, 7:59pm UTC](https://discuss.elastic.co/t/using-es-own-load-balancing-functionality/14391/2 "2013-11-13T19:59:28Z")

</div>

This is regarding 0.90.6 BTW.

On Wednesday, November 13, 2013 2:59:04 PM UTC-5, nfwlpw wrote:

> I'm a bit confused about one thing, reading the comments in  
> elasticsearch.yml:
> 
> # 3. You want this node to be neither master nor data node, but
> 
> # to act as a "search load balancer" (fetching data from nodes,
> 
> # aggregating results, etc.)
> 
> # 
> 
> # node.master: false
> 
> # node.data: false
> 
> My questions are:
> 
> 1. So if I want to use this set up, should I just let my client know only  
> this node?
> 
> 2. Then what happens when this node goes down?
> 
> Thanks.

--  
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:** ![Amit\_Soni](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@Amit\_Soni](https://discuss.elastic.co/u/Amit_Soni)\
**Post date:** [November 13, 2013, 8:05pm UTC](https://discuss.elastic.co/t/using-es-own-load-balancing-functionality/14391/3 "2013-11-13T20:05:03Z")

</div>

I think your client would need to know about a set of such 'routing' nodes  
and not just one node. This will ensure that if one or two nodes out of  
that set go down, your application is still working fine. Choosing the set  
size obviously is dependent on how much resiliency you want.

-Amit.

On Wed, Nov 13, 2013 at 11:59 AM, nfwlpw [nfwlpw@gmail.com](mailto:nfwlpw@gmail.com) wrote:

> This is regarding 0.90.6 BTW.
> 
> On Wednesday, November 13, 2013 2:59:04 PM UTC-5, nfwlpw wrote:
> 
> > I'm a bit confused about one thing, reading the comments in  
> > elasticsearch.yml:
> > 
> > # 3. You want this node to be neither master nor data node, but
> > 
> > # to act as a "search load balancer" (fetching data from nodes,
> > 
> > # aggregating results, etc.)
> > 
> > # 
> > 
> > # node.master: false
> > 
> > # node.data: false
> > 
> > My questions are:
> > 
> > 1. So if I want to use this set up, should I just let my client know only  
> > this node?
> > 
> > 2. Then what happens when this node goes down?
> > 
> > Thanks.
> 
> --  
> 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:07am UTC](https://discuss.elastic.co/t/using-es-own-load-balancing-functionality/14391/4 "2017-07-06T02:07:24Z")

</div>


