Internode connection in sIngle primary shard with one replica per node?

From reading the Definitive Guide, I learned that the coordinating node forwards a read request to a different shard copy (assuming multiple primary shards and nodes).

How does it work if I have a cluster with single primary shard and one replica per node?
"settings": { "number_of_shards": 1, "auto_expand_replicas" : "0-all" }

Each node will have all the data, so there is no need to forward request to get data from another shard. Furthermore, since coordinating node can be round-robin'd, distributing the load also isn't an issue.

In such such set-up, will there be internode communication for read requests?

Yes, it will still round robin between the two shards.

If you don't want that, look at

1 Like

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