by londons_explore · 4y ago · 0 comments
When my consumer flash ssd can typically provide data to a read request inside 50 microseconds, I really expect a big hosted filesystem to have a median latency in the 100 microsecond range.
Ie. I expect amazon to have the majority of filesystem metadata in RAM, such that a single read request from the user translates to a single SSD read request at a known block address. That data is then sent back across the 10GBit ethernet network to the machine doing the request, adding 1.3 microseconds per network switch.
the kernel will buffer and queue packets vs sending them out asap. So there’s delay added at your host level and networking layer. The. You’ve got the speed of light traversing that distance. All this adds latency.
https://www.microway.com/knowledge-center-articles/performan...
And the speed of light is 1000 feet per microsecond, so even the largest data centers won't add more than a handful of microseconds.
I have to contest this a bit. The company I work for doesn't put much effort into latency from what I can tell, and sees ~200us between servers in the same data center, and ~400us to another data center 12 miles away.
Your sense is probably coming from bad OS stacks. Kernel bypass like Amazon uses achieves this easily.
Or is there no routing between the storage and the application servers in a data center?