On 10/23/2018 9:31 AM, Fernando Otero wrote:
Hey all
I'm running some tests on Solr cloud (10 nodes, 3 shards, 3 replicas),
when I run the queries I end up seeing 7x traffic ( requests / minute) in
Newrelic.
Could it be that the internal communication between nodes is done through
HTTP and newrelic counts those calls?
The inter-node communication is indeed done over HTTP, using the same
handlers that clients use, and if you have something watching Solr's
statistics or watching Jetty's counters, one of the counters will go up
when an inter-node request happens.
With 3 shards, one request coming in will generate as many as six
additional requests -- one request to a replica for each shard, and then
another request to each shard that has matches for the query, to
retrieve the documents that will be in the response. The node that
received the initial request will compile the results from all the
shards and send them back in response to the original request.
Nutshell: One request from a client expands. With three shards, that
will be four to seven requests total. If you have 10 shards, it will be
between 11 and 21 total requests.
Thanks,
Shawn