After reading a lot of articles about Elasticsearch, i still don't get how requests are distributed among the different nodes.
I would like to know how Elasticsearch perform the requests distributions. Do the requests are equally distributed ? The master perform more computation than the data node ?
Let's take an example : a cluster of 5 ElasticSearch nodes with 5 indices, each one have one replica and one primary shard.
My first thought would be that requests are equally distributed: a master node send 4 requests to the 4 others nodes (scatter phase) ; these requests are related only to one different indice.
Of course, results are then sent to the master node (gather phase) that send the final result to the application.
Unfortunately, i don't know if that's true or not.
The reason of my question is that I already set up a cluster with 5 nodes. They don't have the same hardware configuration (but have at least 8 GB RAM and 2 CPUs) and i was wondering if the performance will mainly rely on the worst hardware configuration of the machine hosting a node.
Thanks for your explainations