CP of CAP in elasticsearch and one can achieve this by configuration

As I am new to 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.

  1. Is above given no of shards, Nodes, replicas is sufficient.
  2. 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.

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