Node roles distribution

Hi community,
I have 4 hosts to dedicate to Elasticsearch, what is the best distribution of master and data nodes as well as primary shards and replicas?

Make them all master and data nodes. However you really need an odd number of nodes here, as the majority of 3 is 4, so you can only survive one node being lost.

As for sharding, it depends on your data type, size and volume.

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