Elasticsearch python client

Hi!

I'm new in elasticsearch. we have a 7 node elasticsearch production state cluster and all of them are master, data and coordinator node. I'm wondering how to balance requests to avoid one server be the only gateway query node.
Does python client do it by it self when we pass multiple server to it? or I have to handle it by my self?

tnx

It does load-balancing if you pass multiple nodes to it or allow it to discover all nodes in the cluster via "sniffing". See http://elasticsearch-py.readthedocs.io/en/master/#persistent-connections for more details.

1 Like

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