Others on the list are more expert, but I think your #1 Zookeeper will not get hammered.
As I understand it, Solr itself (the leader) will handle farming out the work to the other two Solr nodes. The amount of traffic on the Zookeeper instances should be minimal. Now - could your SolrCloud of 3 nodes get hammered too hard to keep up? Yes, but I believe you'd see Solr go down due to overload before you would ever see any trouble with Zookeeper because of load. I will be corrected shortly <grin> if I got any of that wrong... On Thu, Oct 20, 2016 at 4:11 PM, Sadheera Vithanage <sadhee...@gmail.com> wrote: > Hi again Experts, > > I have a question related to load balancing in solr cloud. > > If we have 3 zookeeper nodes and 3 solr instances (1 leader, 2 secondary > replicas and 1 shard), when the traffic comes in the primary zookeeper > server will be hammered, correct? > > I understand (or is it wrong) that zookeeper will load balance between solr > nodes but if we want to distribute the load between zookeeper nodes as > well, what is the best approach. > > Cost is a concern for us too. > > Thank you very much, in advance. > > -- > Regards > > Sadheera Vithanage >