Give me the suggestion about elasticsearch cluster architecture

Hi All,

we are going to change our Elasticsearch cluster architecture.
currently we have 5 nodes per cluster, all are data + master eligible nodes.

  • we are connecting all nodes from code via round robin method from code.

Here the problem is
-- when one node is unresponsive the request to that particular node becomes fails.

solution ideas:

  1. Having independent master node to serve all requests
  2. Having independent client nodes to serve all requests
  3. Having haproxy to maintain high availability between master or client nodes.

give me the little bit elaborated way to form the cluster.

Don't send anything to dedicated masters.

One option is to handle this in your code, the official clients should do do this. Otherwise having a client or using a load balancer will work.

1 Like