Grokking Operating Systems and Networking for Backend Engineers
Vote

0% completed

​

The Three Way Handshake and What It Costs

Checkout sends a small order to a server whose round trip is 40 ms, five times on a new connection each time and five times on one open connection. A Python client timed every order:

Output:

A new connection for each order: order 1: connect() 83.2 ms order total 123.7 ms order 2: connect() 40.2 ms order total 80.6 ms order 3: connect() 40.2 ms order total 80.5 ms order 4: connect() 40.3 ms order total 80.6 ms order 5: connect() 40.2 ms order total 80.5 ms One connection, reused for each order: order 6: order total 40.3 ms order 7: order total 40

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content