Re: Load-balancing Solr instances

2015-12-18 Thread Upayavira
And they do the right thing far faster than a load balancer would. In one test I made, zookeeper updated th cluster state within 200ms. It may well have been less than that, I didn't check. I had requests going to a cluster in a loop, and my client (pysolr with PR #138) retried on connection failur

Re: Load-balancing Solr instances

2015-12-18 Thread Erick Erickson
You're over-complicating it, the complexity is already in Solr ;)... First, if your using a SolrJ client (assuming you're accessing Solr from your app), use the CloudSolrClient class. This takes a ZK ensemble and does it's own load balancing via a software load balancer. If you're not using SolrJ

RE: Load-balancing Solr instances

2015-12-18 Thread Markus Jelsma
Hello - a simple load balancer will do just fine. Or more sophisticated tools such as Varnish, HAProxy or Nginx, which we use. A hardware loadbalancer would obviously also do the job Markus -Original message- > From:Andrej van der Zee > Sent: Friday 18th December 2015 13:20 > To: sol