4 ms·
I am more worried about the DNS caching issue. The 2+ hosts failing should not be much of a problem if you have a separate health checker host which does nothi
by hatred 12y ago
I am more worried about the DNS caching issue.
The 2+ hosts failing should not be much of a problem if you have a separate health checker host which does nothing except gathering heart-beats from all the hosts in your fleet and updating the DNS periodically.
- korzun 12y agoThat's exactly why it's a problem. If you have 3 hosts and 2 of them go down, in this setup there is more than 50% chance that cached hosts will be trying to connect to a non-existing server. Also expecting client to perform a DNS lookup every time there is an outgoing log packet is pretty shitty for performance. You can't guarantee near instant DNS server availability for every client.
- hijinks 12y agonot to mention people that use something like a local caching daemon like nscd might cache a bad ip for a whole day