Happy Eyeballs

Happy Eyeballs (also called Fast Fallback) is an algorithm published by the IETF which can make dual-stack applications (those that understand both IPv4 and IPv6) more responsive to users by attempting to connect using both IPv4 and IPv6 at the same time (preferring IPv6), thus avoiding the usual problems faced by users with imperfect IPv6 connections or setups.

Happy Eyeballs is designed to address the problem that many IPv6 networks are unreachable from parts of the Internet,[1] and applications trying to reach those networks will appear unresponsive, thus frustrating users. Happy Eyeballs solves this problem by determining which transport would be better used for a particular connection by trying them both in parallel. The algorithm and its requirements are described in RFC 8305, "Happy Eyeballs Version 2: Better Connectivity Using Concurrency".[2] The name "happy eyeballs" derives from the term "eyeball" to describe endpoints which represent human Internet end-users, as opposed to servers.[3]

An application that uses a Happy Eyeballs algorithm checks both IPv4 and IPv6 connectivity (with a preference for IPv6) and uses the first connection that is returned. The addresses are often chosen from the DNS with a round-robin algorithm.[4] Implementations of Happy Eyeballs stacks exist in Google's Chrome web browser, Opera 12.10, Firefox version 13, OS X,[5] cURL[6] and OpenBSD.[7]

Happy Eyeball testing was part of World IPv6 Day in 2011.[8]

The Happy Eyeballs algorithm can also be used for choosing between other types of transport protocols, such as between TCP and SCTP.[9]

See also

References

  1. Dan Wing and Andrew Yourtchenko. "Happy Eyeballs: Improving User Experiences with IPv6 and SCTP". Internet Protocol Journal, vol.13 n.3. Retrieved 2012-01-15.
  2. Schinazi, David; Pauly, Tommy (December 2017). Happy Eyeballs Version 2: Better Connectivity Using Concurrency. doi:10.17487/RFC8305. RFC 8305.
  3. "Definition of eyeballs". Cambridge Business English Dictionary. Cambridge University Press. Retrieved 2014-12-05.
  4. Daniel Stenberg. "getaddrinfo with round robin DNS and happy eyeballs". daniel.haxx.se. Retrieved 2012-01-15.
  5. OS X El Capitan implementation is biased towards ipv6 with a 25 ms headstart, previously from OS X Lion to OS X Yosemite it used the fastest connection with no protocol preference, according to David Schinazi. "[v6ops] Apple and IPv6 - Happy Eyeballs". www.ietf.org. Retrieved 2016-02-02.
  6. Daniel Stenberg. "curl vs Wget". daniel.haxx.se. Retrieved 2016-03-06.
  7. "unwind(8); 'happy eyeballs'".
  8. Mark Townsley (2011-06-07). "Happy Eyeballs for World IPv6 Day". blogs.cisco.com. Retrieved 2012-01-15.
  9. Naeem, Khademi; Anna, Brunstrom; Per, Hurtig; Karl-Johan, Grinnemo (July 21, 2016). "Happy Eyeballs for Transport Selection". tools.ietf.org. Retrieved 2017-01-09.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.