Hey Shawn Thanks for your answer!. I changed the config to 1 shard with 7 replicas but I still see communication between nodes, is that expected? Each node has 1 shard so it should have all the data needed to compute, I don't get why I'm seeing communication between them.
Thanks On Tue, Oct 23, 2018 at 2:21 PM Shawn Heisey <apa...@elyograg.org> wrote: > 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 > > -- Fernando Otero Sr Engineering Manager, Panamera Buenos Aires - Argentina Mobile: +54 911 67697108 Email: fernando.ot...@olx.com