4 ms·
> This is a severe limitation. Rather, it is a feature.
by jruohonen 3mo ago
> This is a severe limitation.
Rather, it is a feature.
- UltraSane 3mo agoHow so?
- jruohonen 3mo ago> How so? Standards as well as all manual pages and other documentation say that getaddrinfo() should be called via a loop by clients. And results show that almost all clients indeed do that. Therefore, on the server-side, you can do round-robin DNS, randomization (as suggested by the post linked), fall-backs, CDN things, and many other things.
- UltraSane 3mo agoStandard TCP maps connections to IP addresses. If your IP changes, the connection drops. A secure cryptographic Session Layer maps connections to your unique device ID. Imagine if the functionality of something like tailscale was actually built into TCP/IP. This is what the missing session layer should have been.