Ill have to take a look at HAProxy. How much faster than nginx is it? To answer the question, I personally use nginx for load balancing/failovers and its been good, use the same nginx servers to load balance a Galera cluster as well.
On Fri, Mar 2, 2018 at 11:09 AM, Shawn Heisey <elyog...@elyograg.org> wrote: > On 3/2/2018 6:13 AM, Bernd Fehling wrote: > >> I would like to poll for the loadbalancer you are using for SolrCloud. >> >> Are you using a loadbalancer for SolrCloud? >> >> If yes, which one (SolrJ, HAProxy, Varnish, Nginx,...) and why? >> > > I use haproxy for Solr -- not SolrCloud. It is an amazing and FAST piece > of software, without the overhead of a full webserver (apache, nginx). It > also has zero cost, which is far more attractive than hardware load > balancers, and can do anything I've seen a hardware load balancer do. With > the presence of another piece of software (such as pacemaker) you can even > have hardware redundancy for the load balancer. > > Most of my clients talking to Solr are Java, so they use > HttpSolrClient/HttpSolrServer from SolrJ, connecting to the load balancer. > > For SolrCloud, if your clients are Java, you don't need a load balancer, > because the client (CloudSolrClient in SolrJ) talks to the entire cluster > and dynamically adjusts to changes in clusterstate. > > Thanks, > Shawn > >