Every time you type a web address, your device has to figure out how to reach the destination. In today's internet that question has two possible answers: an IPv4 address (the 32-bit format the world has used since 1981) or an IPv6 address (the 128-bit replacement designed to outlast the IPv4 shortage). Most servers now publish both, and most devices live on both — a setup called dual-stack.
The trouble is that "both addresses work in theory" does not mean "both addresses work right now." IPv6 paths can be broken by misconfigured tunnels, over-eager firewalls, or simply incomplete deployment. A browser that always tried IPv6 first would stall for many seconds every time it hit a broken path before falling back to IPv4 — and users would blame the website, not the transition.
Happy Eyeballs is the algorithm that solved this. Its core idea is beautifully simple: start both connection attempts at nearly the same time and use whichever one succeeds first. The winner takes the socket; the loser is quietly discarded. Users see a fast connection; the network transition happens in the background.
The name comes from the visual effect. Before the algorithm existed, broken IPv6 paths made web pages load slowly — giving users the frustrated, unblinking stare of someone watching a spinner. The fix made their eyes happy again.
Comments
Loading comments...