Re: SolrCloud Query Balancing

2013-10-16 Thread Shawn Heisey
On 10/16/2013 8:01 AM, Henrik Ossipoff Hansen wrote: > I did not actually realize this, I apologize for my previous reply! > > Haproxy would definitely be the right choice then for the posters setup for > redundancy. Any load balancer software, or even an appliance load balancer like those made

Re: SolrCloud Query Balancing

2013-10-16 Thread Henrik Ossipoff Hansen
I did not actually realize this, I apologize for my previous reply! Haproxy would definitely be the right choice then for the posters setup for redundancy. Den 16/10/2013 kl. 15.53 skrev Shawn Heisey : > On 10/16/2013 3:52 AM, michael.boom wrote: >> I have setup a SolrCloud system with: 3 shard

Re: SolrCloud Query Balancing

2013-10-16 Thread Shawn Heisey
On 10/16/2013 3:52 AM, michael.boom wrote: > I have setup a SolrCloud system with: 3 shards, replicationFactor=3 on 3 > machines along with 3 Zookeeper instances. > > My web application makes queries to Solr specifying the hostname of one of > the machines. So that machine will always get the requ

Re: SolrCloud Query Balancing

2013-10-16 Thread michael.boom
Thanks! Could you provide some examples or details of the configuration you use ? I think this solution would suit me also. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Query-Balancing-tp4095854p4095910.html Sent from the Solr - User mailing list archive at Nab

Re: SolrCloud Query Balancing

2013-10-16 Thread Henrik Ossipoff Hansen
What you could do (and what we do) is to have a simple proxy in front of your Solr instances. We for example run with Nginx in front of all of our Tomcats, and use Nginx's upstream capabilities to do a simple loadbalancer for our SolrCloud cluster. http://wiki.nginx.org/HttpUpstreamModule I'm

Re: SolrCloud Query Balancing

2013-10-16 Thread michael.boom
Thanks! I've read a lil' bit about that, but my app is php-based so I'm afraid I can't use that. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Query-Balancing-tp4095854p4095857.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrCloud Query Balancing

2013-10-16 Thread Chris Geeringh
If your web application is using SolrJ/Java based - use a CloudSolrServer instance with the zkHosts. It will take care of load balancing when querying, indexing, and handle routing if a node goes down. On 16 October 2013 10:52, michael.boom wrote: > I have setup a SolrCloud system with: 3 shard