Re: Load balancing with solr cloud

2016-10-21 Thread Erick Erickson
how many replicas >>>> need to confirm to the leader before the response is supplied to the >>>> client, as you can with say MongoDB replicas. > > Yes, that's possible. It's what I was thinking about when I mentioned > "...general case flow". T

Re: Load balancing with solr cloud

2016-10-21 Thread hairymcclarey
That capability is relatively new, and not the default, which is why I didn't mention it. -Original Message----- From: hairymccla...@yahoo.com.INVALID [mailto:hairymccla...@yahoo.com.INVALID] Sent: Friday, October 21, 2016 4:07 AM To: solr-user@lucene.apache.org Subject: Re: Load balanci

RE: Load balancing with solr cloud

2016-10-21 Thread Garth Grimm
default, which is why I didn't mention it. -Original Message- From: hairymccla...@yahoo.com.INVALID [mailto:hairymccla...@yahoo.com.INVALID] Sent: Friday, October 21, 2016 4:07 AM To: solr-user@lucene.apache.org Subject: Re: Load balancing with solr cloud As I understand it for non-SolrCloud

Re: Load balancing with solr cloud

2016-10-21 Thread hairymcclarey
de to send the request to.  But you'll need to be taxing the cloud pretty heavily before that difference becomes too noticeable. -Original Message- From: Sadheera Vithanage [mailto:sadhee...@gmail.com] Sent: Thursday, October 20, 2016 5:55 PM To: solr-user@lucene.apache.org Subject

RE: Load balancing with solr cloud

2016-10-20 Thread Garth Grimm
:55 PM To: solr-user@lucene.apache.org Subject: Re: Load balancing with solr cloud Thank you very much John and Garth, I've tested it out and it works fine, I can send the updates to any of the solr nodes. If I am not using a zookeeper aware client and If I direct all my queries (read queries

Re: Load balancing with solr cloud

2016-10-20 Thread Sadheera Vithanage
Thank you very much John and Garth, I've tested it out and it works fine, I can send the updates to any of the solr nodes. If I am not using a zookeeper aware client and If I direct all my queries (read queries) always to the leader of the solr instances,does it automatically load balance between

RE: Load balancing with solr cloud

2016-10-20 Thread Garth Grimm
Actually, zookeeper really won't participate in the update process at all. If you're using a "zookeeper aware" client like SolrJ, the SolrJ library will read the cloud configuration from zookeeper, but will send all the updates to the leader of the shard that the document is meant to go to. If

Re: Load balancing with solr cloud

2016-10-20 Thread John Bickerstaff
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