Grokking Operating Systems and Networking for Backend Engineers
0% completed
Packets, Addresses and Ports
After every order, Checkout sends one line to a metrics server: orders.placed:1|c. The line is 17 bytes long. A capture of that send on a Linux server shows 45 bytes leaving the process's socket, and every one of the extra 28 bytes was written by the kernel.
Those 28 bytes say where the data came from, where it is going, which program should receive it, and how long the whole thing is. Every request Checkout receives and every query it sends to Postgres carries the same kind of bytes at its front.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%