XOR Media

Coding, Operations, Etc.

Useful Latency Numbers

Posted on Thu 31 May 2012 by

I ran across this gist on Hacker News which has a quick rundown of the latencies of various operations. It's nothing earth shattering, but if you compare the intra-data center round-trip (0.5ms) to reading 1MB of data from disk (20ms) you can pretty quickly see why systems like memcached work so well even after adding the overhead of reading from memory (0.25ms) and some time for the sending and receiving of the request. Summed up the memcached response is often back in a few ms, nearly an order of magnitude faster than reading from local disk.

About the Author

Ross McFarland Ross McFarland | | |

Ross is a 17 year veteran of the software industry with experience spanning low-level signal processing, web and mobile user interfaces, high-scale distributed web services, infrastructure, and networking. He has made extensive contributions to open source highlighted by his time as a primary maintainer of Gtk2-Perl and author of requests-futures and python-asynchttp libraries. (more)