On 29 August 2016 at 16:39, Igor Cicimov <ig...@encompasscorporation.com> wrote:
> On Tue, Aug 30, 2016 at 6:18 AM, Maciej Katafiasz
> <mkatafi...@purestorage.com> wrote:
>> Be aware though that DNS round-robin reduces the availability of the
>> entire setup, since there are no provisions in the protocol for the
>> eviction of dead nodes. So unless you're very sure there will never be
>> any in your DNS and also have the TTL set to some very low value,
>> multiple DNS records will defeat some of the care HAProxy takes to
>> ensure it only sends requests to backends that can service them.
>
> Hmmm, one would think though the backend health check and fail over should
> take care of this ... or maybe not???
>
> Anyway, in case you use something like Consul which I mentioned before to
> provide the DNS records, then Consul itself will remove the failed node from
> the DNS record.

Right, I missed the "independent healthchecks" in the original
description, in which case it'd work well enough (albeit a low enough
TTL value is still a concern).

Cheers,
Maciej

Reply via email to