I use HAProxy, because is much more configurable than Nginx and I can send
commands to solr collection and search for text to check if the node is
healthy.

Nginx is very fast too, but health check are worst than HAProxy.

Greetings!!

2018-03-02 17:11 GMT+01:00 David Hastings <hastings.recurs...@gmail.com>:

> 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
> >
> >
>



-- 
_________________________________________

      Daniel Carrasco Marín
      Ingeniería para la Innovación i2TIC, S.L.
      Tlf:  +34 911 12 32 84 Ext: 223
      www.i2tic.com
_________________________________________

Reply via email to