4 ms·
On some operating systems getaddrinfo sorts the DNS response by IPv6 distance! Breaking load balancing https://access.redhat.com/solutions/22132 https://access
by samsquire 5y ago
On some operating systems getaddrinfo sorts the DNS response by IPv6 distance! Breaking load balancing
https://access.redhat.com/solutions/22132 https://access.redhat.com/solutions/22132
- toast0 5y agoThis is not exclusive to IPv6, I've seen it on v4 as well. If you've got short DNS TTLs and can return 2-4 records out of a larger pool, that can help, but if your TTLs are longer, you have to consider the handful of recusrive DNS servers that serve a large number of users... You want to give them more records to balance that traffic better. OTOH, current IRC usage numbers are pretty low, a beefy single server should work, except for the disruption potential of single servers. Latency can be a bit of an issue too, depending on where your users are; not great if users are in south asia and the only server is in east coast US.