Grokking Operating Systems and Networking for Backend Engineers
0% completed
Sequence Numbers, Acknowledgments and Retransmission
Twenty orders went from Checkout to a server over one open connection with a 40 ms round trip. Nineteen of them took between 40.1 and 42.3 ms. One took seven times as long:
Output:
order 8: 40.2 ms order 9: 40.2 ms order 10: 283.8 ms order 11: 40.2 ms order 12: 40.1 ms
The network had dropped every packet for one tenth of a second while order 10 was sent. No error reached the program, and the order arrived intact. The connection noticed the loss by itself, sent the order again, and the only trace was about 244 ms of extra waiting.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%