# Load balancing elastic search

**URL:** <https://discuss.elastic.co/t/load-balancing-elastic-search/12365>\
**Category:** Elasticsearch\
**Created:** [June 11, 2013, 6:50pm UTC](https://discuss.elastic.co/t/load-balancing-elastic-search/12365 "2013-06-11T18:50:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dantuff](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@dantuff](https://discuss.elastic.co/u/dantuff)\
**Post date:** [June 11, 2013, 6:50pm UTC](https://discuss.elastic.co/t/load-balancing-elastic-search/12365/1 "2013-06-11T18:50:27Z")

</div>

Hi, I have three servers each running an instance of elastic search. I have  
been given the task to load balance them. Should I use one server as a  
master node for load balancing request to two slave nodes?

Is there a better way to do it?

Or any good resources on how to load balance ES?

--  
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:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [June 12, 2013, 2:23am UTC](https://discuss.elastic.co/t/load-balancing-elastic-search/12365/2 "2013-06-12T02:23:47Z")

</div>

AFAIK load balancing is done automatically in ES.  
When you fire a request to a node and it feels there is someone who can  
serve the request better , it redirects the request to that node.

Thanks  
Vineeth

On Wed, Jun 12, 2013 at 12:20 AM, es newbie [dan.tuffery@gmail.com](mailto:dan.tuffery@gmail.com) wrote:

> Hi, I have three servers each running an instance of Elasticsearch. I  
> have been given the task to load balance them. Should I use one server as a  
> master node for load balancing request to two slave nodes?
> 
> Is there a better way to do it?
> 
> Or any good resources on how to load balance ES?
> 
> --  
> 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:** ![dantuff](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@dantuff](https://discuss.elastic.co/u/dantuff)\
**Post date:** [June 12, 2013, 6:58am UTC](https://discuss.elastic.co/t/load-balancing-elastic-search/12365/3 "2013-06-12T06:58:49Z")

</div>

Thanks Vineeth,

There must be some configuration required. I have es1 on ServerA, es2 on  
serverB and es3 on serverC, so I need to tell es1, es2 and es3 about each  
other.

On Wednesday, June 12, 2013 3:23:47 AM UTC+1, Vineeth Mohan wrote:

> AFAIK load balancing is done automatically in ES.  
> When you fire a request to a node and it feels there is someone who can  
> serve the request better , it redirects the request to that node.
> 
> Thanks  
> Vineeth
> 
> On Wed, Jun 12, 2013 at 12:20 AM, es newbie \<[dan.t...@gmail.com](mailto:dan.t...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Hi, I have three servers each running an instance of Elasticsearch. I  
> > have been given the task to load balance them. Should I use one server as a  
> > master node for load balancing request to two slave nodes?
> > 
> > Is there a better way to do it?
> > 
> > Or any good resources on how to load balance ES?
> > 
> > --  
> > 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:\>.  
> > 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:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [June 12, 2013, 7:54am UTC](https://discuss.elastic.co/t/load-balancing-elastic-search/12365/4 "2013-06-12T07:54:52Z")

</div>

No need of configuration , load would be evenly balanced between the nodes  
automatically.

Thanks  
Vineeth

On Wed, Jun 12, 2013 at 12:28 PM, es newbie [dan.tuffery@gmail.com](mailto:dan.tuffery@gmail.com) wrote:

> Thanks Vineeth,
> 
> There must be some configuration required. I have es1 on ServerA, es2 on  
> serverB and es3 on serverC, so I need to tell es1, es2 and es3 about each  
> other.
> 
> On Wednesday, June 12, 2013 3:23:47 AM UTC+1, Vineeth Mohan wrote:
> 
> > AFAIK load balancing is done automatically in ES.  
> > When you fire a request to a node and it feels there is someone who can  
> > serve the request better , it redirects the request to that node.
> > 
> > Thanks  
> > Vineeth
> > 
> > On Wed, Jun 12, 2013 at 12:20 AM, es newbie [dan.t...@gmail.com](mailto:dan.t...@gmail.com) wrote:
> > 
> > > Hi, I have three servers each running an instance of Elasticsearch. I  
> > > have been given the task to load balance them. Should I use one server as a  
> > > master node for load balancing request to two slave nodes?
> > > 
> > > Is there a better way to do it?
> > > 
> > > Or any good resources on how to load balance ES?
> > > 
> > > --  
> > > 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](http://googlegroups.com).
> > > 
> > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[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:** ![dantuff](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@dantuff](https://discuss.elastic.co/u/dantuff)\
**Post date:** [June 12, 2013, 8:09am UTC](https://discuss.elastic.co/t/load-balancing-elastic-search/12365/5 "2013-06-12T08:09:21Z")

</div>

Can you point me to the documentation regarding this feature.

Thanks.

On Wednesday, June 12, 2013 8:54:52 AM UTC+1, Vineeth Mohan wrote:

> No need of configuration , load would be evenly balanced between the nodes  
> automatically.
> 
> Thanks  
> Vineeth
> 
> On Wed, Jun 12, 2013 at 12:28 PM, es newbie \<[dan.t...@gmail.com](mailto:dan.t...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Thanks Vineeth,
> > 
> > There must be some configuration required. I have es1 on ServerA, es2 on  
> > serverB and es3 on serverC, so I need to tell es1, es2 and es3 about each  
> > other.
> > 
> > On Wednesday, June 12, 2013 3:23:47 AM UTC+1, Vineeth Mohan wrote:
> > 
> > > AFAIK load balancing is done automatically in ES.  
> > > When you fire a request to a node and it feels there is someone who can  
> > > serve the request better , it redirects the request to that node.
> > > 
> > > Thanks  
> > > Vineeth
> > > 
> > > On Wed, Jun 12, 2013 at 12:20 AM, es newbie [dan.t...@gmail.com](mailto:dan.t...@gmail.com) wrote:
> > > 
> > > > Hi, I have three servers each running an instance of Elasticsearch. I  
> > > > have been given the task to load balance them. Should I use one server as a  
> > > > master node for load balancing request to two slave nodes?
> > > > 
> > > > Is there a better way to do it?
> > > > 
> > > > Or any good resources on how to load balance ES?
> > > > 
> > > > --  
> > > > 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](http://googlegroups.com).
> > > > 
> > > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > 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:** ![Jerome\_Gagnon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerome_gagnon/32/2178_2.png) [@Jerome\_Gagnon](https://discuss.elastic.co/u/Jerome_Gagnon)\
**Post date:** [June 12, 2013, 12:44pm UTC](https://discuss.elastic.co/t/load-balancing-elastic-search/12365/6 "2013-06-12T12:44:55Z")

</div>

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

On Wednesday, June 12, 2013 4:09:21 AM UTC-4, es newbie wrote:

> Can you point me to the documentation regarding this feature.
> 
> Thanks.
> 
> On Wednesday, June 12, 2013 8:54:52 AM UTC+1, Vineeth Mohan wrote:
> 
> > No need of configuration , load would be evenly balanced between the  
> > nodes automatically.
> > 
> > Thanks  
> > Vineeth
> > 
> > On Wed, Jun 12, 2013 at 12:28 PM, es newbie [dan.t...@gmail.com](mailto:dan.t...@gmail.com) wrote:
> > 
> > > Thanks Vineeth,
> > > 
> > > There must be some configuration required. I have es1 on ServerA, es2 on  
> > > serverB and es3 on serverC, so I need to tell es1, es2 and es3 about each  
> > > other.
> > > 
> > > On Wednesday, June 12, 2013 3:23:47 AM UTC+1, Vineeth Mohan wrote:
> > > 
> > > > AFAIK load balancing is done automatically in ES.  
> > > > When you fire a request to a node and it feels there is someone who can  
> > > > serve the request better , it redirects the request to that node.
> > > > 
> > > > Thanks  
> > > > Vineeth
> > > > 
> > > > On Wed, Jun 12, 2013 at 12:20 AM, es newbie [dan.t...@gmail.com](mailto:dan.t...@gmail.com) wrote:
> > > > 
> > > > > Hi, I have three servers each running an instance of Elasticsearch.  
> > > > > I have been given the task to load balance them. Should I use one server as  
> > > > > a master node for load balancing request to two slave nodes?
> > > > > 
> > > > > Is there a better way to do it?
> > > > > 
> > > > > Or any good resources on how to load balance ES?
> > > > > 
> > > > > --  
> > > > > 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](http://googlegroups.com).
> > > > > 
> > > > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@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:31am UTC](https://discuss.elastic.co/t/load-balancing-elastic-search/12365/7 "2017-07-06T02:31:36Z")

</div>


