# Server config for cluster

**URL:** <https://discuss.elastic.co/t/server-config-for-cluster/211899>\
**Category:** Elasticsearch\
**Created:** [December 15, 2019, 6:43am UTC](https://discuss.elastic.co/t/server-config-for-cluster/211899 "2019-12-15T06:43:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vonix](https://avatars.discourse-cdn.com/v4/letter/v/d9b06d/32.png) [@vonix](https://discuss.elastic.co/u/vonix)\
**Post date:** [December 15, 2019, 6:43am UTC](https://discuss.elastic.co/t/server-config-for-cluster/211899/1 "2019-12-15T06:43:02Z")

</div>

Hi,

I'm trying to figure out server config for an ES cluster design.

My current config is 3 master nodes and 9 data nodes, each 2gb of ram.

I want to index large amounts of data ~120gb. Currently when I do it in bulk and multiple threads the JVM quickly runs out of memory. If I were to ease the load by slowly indexing data, the time it would take to index all the data is unreasonable.

My question is, which of the nodes take the load of indexing? That is, which type of node, master or data, should have more ram? I'm guessing data because that's where the data goes to be indexed whereas the master only manages indexing.

Am I on the right track here? My concern is a balance between performance and cost.

Thanks,  
Nivi

---

<div class="post-metadata">

**Author:** ![vonix](https://avatars.discourse-cdn.com/v4/letter/v/d9b06d/32.png) [@vonix](https://discuss.elastic.co/u/vonix)\
**Post date:** [December 15, 2019, 6:53am UTC](https://discuss.elastic.co/t/server-config-for-cluster/211899/2 "2019-12-15T06:53:50Z")

</div>

As always, much searching the web for 3 whole days and answer pops up after posting a question.

> [@7 Node Cluster with 3 dedicated master and 4 data nodes](https://discuss.elastic.co/t/7-node-cluster-with-3-dedicated-master-and-4-data-nodes/103060/2):
>
> you should experiment, but still, try to get as close as you can to the recommended settings: balf the ram to eladtic, and no more than 30.5GB. as for the size of the indices you have, 5\*1 sounds too much for the overall size of data you have. try to stick to 30gb - 50gb per shard, do the math accordingly.

Closing this topic.

---

<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:** [January 12, 2020, 6:56am UTC](https://discuss.elastic.co/t/server-config-for-cluster/211899/3 "2020-01-12T06:56:08Z")

</div>

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