A zookeeper ensemble should be a fairly reliable, large enough no.of
machines(3+ typically 5,7,9) for a quorum.
So adding a load balancer on top will just add a hop and
decrease performance, and also add a failure point in the system.

that being said there needs to be a way to provide solr with a way to
refresh conf. without restart.

Solr takes a list of zk hosts on startup, If i am correct , uses one of
them unless it fails or round robins.

why do your zkhosts need to change a lot?


On Sat, Dec 29, 2012 at 10:58 AM, Upayavira <u...@odoko.co.uk> wrote:

> I would suggest asking this on the zookeeper user list.
>
> And let us know here what you find out, I'd be interested.
>
> Note, zookeeper, as I understand it, uses its own protocol, so to some
> reasonable extent it probablmy depends on yr load balancer. Also, as I
> understand it, zookeeper maintains active connections to solr hosts,
> which is not a common scenario for load balances as I understand it.
>
> Upayavira
>
> On Fri, Dec 28, 2012, at 04:39 PM, Marcin Rzewucki wrote:
> > Hi,
> >
> > Does Solr need connection to all of hosts in ZK ensemble or only to one
> > of
> > them at a time ? I wonder if it is possible to use load balancer for ZK
> > ensemble and use only one address as zkHost for Solr ? Having load
> > balancer
> > makes it easier to change ZK hosts while still using same address by Solr
> > (no need to restart Solr or change its configuration).
> >
> > Thanks in advance.
> > Regards.
>



-- 
Anirudha P. Jadhav

Reply via email to