As I am new to elasticsearch using [elasticsearch version 7.4] and with a lot of studies it is not clear till now how much shards / Nodes are preferred in particular index. As of now, I have configured 3 shards and 2 replicas with 3 Nodes(each having 8GB RAM, 500GB HDD). and having 55GB of Data in One Index. So I need your views/suggestions in the following points.
- Is above given no of shards, Nodes, replicas is sufficient.
- For CAP theorem I will prefer CP i.e: Consistency and Partition-tolerance for this in 3 Node cluster
- For Consistency configured write_consistency=all
- For Partition-tolerance set master-eligible node to (N/2) + 1 in my case it is 3.