Re: Querying in Solrcloud

2018-07-05 Thread Arturas Mazeika
Hi Erick, wow. This Email had a such a profound effect and filled so many gaps in my head. I was wondering how master-slave (through replication) and (quorum based or whatever the name is) distribution live under the same hood in solr. And in such a concise manner! Good Job indeed. I wonder wheth

Re: Querying in Solrcloud

2018-06-29 Thread Walter Underwood
We use an AWS ALB for all of our Solr clusters. One is 40 instances. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jun 29, 2018, at 8:33 PM, Sushant Vengurlekar > wrote: > > What are some of the suggested loadbalancers for solrcloud? Can AWS ELB

Re: Querying in Solrcloud

2018-06-29 Thread Sushant Vengurlekar
What are some of the suggested loadbalancers for solrcloud? Can AWS ELB be used for load balancing? On Fri, Jun 29, 2018 at 8:04 PM, Erick Erickson wrote: > In your setup, the load balancer prevents single points of failure. > > Since you're pinging a URL, what happens if that node dies or is tu

Re: Querying in Solrcloud

2018-06-29 Thread Sushant Vengurlekar
Thanks for the detailed explanation Eric. Really helped clear up my understanding. On Fri, Jun 29, 2018 at 8:04 PM, Erick Erickson wrote: > In your setup, the load balancer prevents single points of failure. > > Since you're pinging a URL, what happens if that node dies or is turned > off? > You

Re: Querying in Solrcloud

2018-06-29 Thread Erick Erickson
In your setup, the load balancer prevents single points of failure. Since you're pinging a URL, what happens if that node dies or is turned off? Your PHP program has no way of knowing what to do, but the load balancer does. Your understanding of Zookeeper's role shows a common misconception. Zoo

Re: Querying in Solrcloud

2018-06-29 Thread Sushant Vengurlekar
Thanks for your reply. I have a follow up question. Why is a load balancer needed? Isn't that the job of zookeeper to loadbalance queries across solr nodes? I was under the impression that you send query to zookeeper and it handles the rest and sends the response back. Can you please enlighten .me

Re: Querying in Solrcloud

2018-06-29 Thread Shalin Shekhar Mangar
You send your queries and updates directly to Solr's collection e.g. http://host:port/solr/. You can use any Solr node for this request. If the node does not have the collection being queried then the request will be forwarded internally to a Solr instance which has that collection. ZooKeeper is u