Subscribe to receive notifications of new posts:

Deep Dive

connect() - why are you so slow?

02/08/2024

This is our story of what we learned about the connect() implementation for TCP in Linux. Both its strong and weak points. How connect() latency changes under pressure, and how to open connection so that the syscall latency is deterministic and time-bound...

Continue reading »
connect() - why are you so slow?

MORE POSTS

March 20, 2023 1:00 PM

The quantum state of a TCP port

If I navigate to https://blog.cloudflare.com/, my browser will connect to a remote TCP address from the local IP address assigned to my machine, and a randomly chosen local TCP port. What happens if I then decide to head to another site?...