The Backend Engineering Show with Hussein Nasser
The Backend Engineering Show with Hussein Nasser
Hussein Nasser
Windows vs Linux Kernel
37 minutes Posted Aug 30, 2024 at 3:26 am.
Intro
Fundamentals TCP/IP
Unreachable Port Behavior
Client Kernel Behavior (Linux vs Windows)
Slow TCP Connect on Windows
localhost, IPv6 and IPv4
Happy Eyeballs
Registry keys to change the behavior
Port Unreachable vs Host Unreachable
0:00
37:23
Download MP3
Show notes
Fundamentals of Operating Systems Course
https://os.husseinnasser.com
Why Windows Kernel connects slower than Linux
I explore the behavior of TCP/IP stack in Windows kernel when it receives a RST from the backend server especially when the host is available but the port we are trying to connect to is not. This behavior is exacerbated by having both IPv6 and IPv4 and if the happy eye ball protocol is in place where IPv6 is favorable.
https://daniel.haxx.se/blog/2024/08/14/slow-tcp-connect-on-windows/