# Does adding data nodes increase write throughput

**URL:** <https://discuss.elastic.co/t/does-adding-data-nodes-increase-write-throughput/261205>\
**Category:** Elasticsearch\
**Created:** [January 15, 2021, 4:39am UTC](https://discuss.elastic.co/t/does-adding-data-nodes-increase-write-throughput/261205 "2021-01-15T04:39:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rex-remind](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rex-remind/32/46637_2.png) [@rex-remind](https://discuss.elastic.co/u/rex-remind)\
**Post date:** [January 15, 2021, 4:39am UTC](https://discuss.elastic.co/t/does-adding-data-nodes-increase-write-throughput/261205/1 "2021-01-15T04:39:52Z")

</div>

Question is, all other things equal, and assuming even distribution of shards, does adding data nodes increase write throughput?

My assumption is yes, I'd imagine the new data nodes could take on the burden of dealing with flushing data and merging segments and servicing bulk requests, but maybe I am wrong.

Additionally, what about adding ingest nodes?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 15, 2021, 4:43am UTC](https://discuss.elastic.co/t/does-adding-data-nodes-increase-write-throughput/261205/2 "2021-01-15T04:43:08Z")

</div>

If you add more and the shards that are being written to are spread out more, then yes.

> [@rex-remind](#):
>
> I'd imagine the new data nodes could take on the burden of dealing with flushing data and merging segments and servicing bulk requests, but maybe I am wrong

Operations like that only happen on nodes that hold the data (ie the shards), or receive the bulk request.

> [@rex-remind](#):
>
> Additionally, what about adding ingest nodes?

This kinda relates to my first comment.  
Yes, if the node getting the request from the client doesn't hold data for the required shard.

Ingest only nodes might be worth looking at if you have a lot of pipelines.

---

<div class="post-metadata">

**Author:** ![rex-remind](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rex-remind/32/46637_2.png) [@rex-remind](https://discuss.elastic.co/u/rex-remind)\
**Post date:** [January 15, 2021, 4:49am UTC](https://discuss.elastic.co/t/does-adding-data-nodes-increase-write-throughput/261205/3 "2021-01-15T04:49:59Z")

</div>

I may not be following, but from what I'm hearing:

- more data nodes will help spread out work more in general if shards are evenly distributed
- ingest nodes will also help spread out load, but only for servicing requests and pipelines

Did I get that right?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 15, 2021, 4:50am UTC](https://discuss.elastic.co/t/does-adding-data-nodes-increase-write-throughput/261205/4 "2021-01-15T04:50:46Z")

</div>

Yep.

---

<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 12, 2021, 4:50am UTC](https://discuss.elastic.co/t/does-adding-data-nodes-increase-write-throughput/261205/5 "2021-02-12T04:50:57Z")

</div>

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