3 ms·
That's the easy part - the tricky part is when you need to reload the haproxy config to do any of the many things you can't do over the socket.
by vidarh 12y ago
That's the easy part - the tricky part is when you need to reload the haproxy config to do any of the many things you can't do over the socket.
- brianwawok 12y agoIf you have a few HA proxy nodes with DNS load balancing, wouldn't the client auto move on to another HA proxy? It is a tiny lag but shouldn't be an error.
- jeremyjh 12y agoNo, once the client has resolved the IP it will either connect to that proxy or fail that particular connection attempt. But you can use the DNS to drain a proxy before restarting it.
- vidarh 12y agoThat might have been the case if you could expect clients to be well behaved, but you can't. In my experience, hardly no network clients handle that kind of thing properly.