Implements the Happy Eyeballs algorithm for asyncio, facilitating rapid
connection establishment by attempting both IPv4 and IPv6 connections
simultaneously. This approach ensures that the connection is established
quickly and efficiently, even if one protocol is slower or unavailable.
.
Happy Eyeballs, also known as Fast Fallback, addresses the problem of
connectivity issues in dual-stack applications (supporting both IPv4 and
IPv6). By attempting both protocols in parallel and preferring IPv6, it
minimizes delays caused by IPv6 brokenness and enhances user experience
by promptly selecting the most responsive connection.
.
This library is particularly useful when using DNS caching or resolving
names through methods other than traditional DNS, such as zeroconf. It
allows for creating connections using pre-resolved addrinfo, bypassing
the limitations of the standard `loop.create_connection()` method which
requires unresolved names.
Installed Size: 49.2 kB
Architectures: all