# BalancedShardAllocator Algorithm

**URL:** <https://discuss.elastic.co/t/balancedshardallocator-algorithm/114569>\
**Category:** Elasticsearch\
**Created:** [January 8, 2018, 5:01pm UTC](https://discuss.elastic.co/t/balancedshardallocator-algorithm/114569 "2018-01-08T17:01:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vigneshD](https://avatars.discourse-cdn.com/v4/letter/v/bbce88/32.png) [@vigneshD](https://discuss.elastic.co/u/vigneshD)\
**Post date:** [January 8, 2018, 5:01pm UTC](https://discuss.elastic.co/t/balancedshardallocator-algorithm/114569/1 "2018-01-08T17:01:26Z")

</div>

Hi i am new to elasticsearch , I am interested in understanding the balancedshardallocator algorithm that elasticsearch uses for load balancing.I tried to study from the code provided in github but i am unable to understand it.Could anyone give me an overview of how this algorithm works that would help me to explore the code

---

<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:** [February 5, 2018, 5:01pm UTC](https://discuss.elastic.co/t/balancedshardallocator-algorithm/114569/2 "2018-02-05T17:01:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
