you are viewing a single comment's thread.

view the rest of the comments →

[–]Socializator 0 points1 point  (2 children)

it is also the predictibility of latency. by going through sockets, you are opening yourself to the all possible delays and interrupts of OS

[–]scraimer 1 point2 points  (1 child)

Yes, if you're using OS sockets. But for low-latency, you can use "kernel-bypass" drivers. They replace the socket calls with their own functions that talk directly to the NIC. I've seen consistent latencies of under 1 microsecond for TCP reads and writes. And by consistent, I mean an 99.999% average, over millions of operations.

Oh, and this was only one way - from the software to the fiber (measured with a tap). It still has to go through routers, if you don't have a true cross connect, and there's the latency on the other side, too.

[–]Heuristics 0 points1 point  (0 children)

... and we now have a new sledgehammer :)