New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: add support for Happy Eyeballs version 2 (RFC 8305) #23841

Open
mikioh opened this Issue Feb 15, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@mikioh
Contributor

mikioh commented Feb 15, 2018

Since RFC 6555 published, research papers, for example, Measuring the Effects of Happy Eyeballs, depict improvement space for the RFC. In addition, network or service operators speak up that the race is not only for TCP connection setup but for DNS query handling. RFC 8305 Happy Eyeballs version 2 addresses such issues.

To summarize, version 2 clarifies the existing algorithm, modifies the configurable variable values for performance improvement and adds consideration for various circumstances such as IPv6-IPv4 transition and VPN. Luckily, there's no significant user-visible behavioral change.

I'd like to propose to replace the existing RFC 6555 implementation with RFC 8305 implementation after landing dns/dnsmessage package (#16218).

@mikioh mikioh added this to the Unplanned milestone Feb 15, 2018

@gopherbot gopherbot added the Proposal label Feb 15, 2018

@bradfitz

This comment has been minimized.

Member

bradfitz commented Feb 15, 2018

Summarize what this means for Go, so we don't need to diff RFC 6555 vs 8305.

Just add Happy Eyeballs-ish behavior to DNS lookups?

@mikioh

This comment has been minimized.

Contributor

mikioh commented Feb 15, 2018

Just add Happy Eyeballs-ish behavior to DNS lookups?

Yup, mostly. FWIW, https://tools.ietf.org/html/rfc8305#appendix-A

@bradfitz

This comment has been minimized.

Member

bradfitz commented Feb 15, 2018

Seems fine. As long as the code can be done without too much complexity.

@rsc

This comment has been minimized.

Contributor

rsc commented Feb 26, 2018

Accepted but only if the result is simple enough.

@rsc rsc changed the title from proposal: net: add support for Happy Eyeballs version 2 (RFC 8305) to net: add support for Happy Eyeballs version 2 (RFC 8305) Feb 26, 2018

@rsc rsc modified the milestones: Unplanned, Go1.11 Feb 26, 2018

@mikioh mikioh modified the milestones: Go1.11, Go1.12 Mar 30, 2018

@mikioh mikioh modified the milestones: Go1.12, Unplanned Aug 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment