Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Written by Array Alchemist
LeetCode wizard with 75 conquered challenges under my belt.
Turning algorithm nightmares into "Aha!" moments, one explanation at a time.
Join me to level up your coding skills – from interviews to real-world application!
In this note, we will develop an intuition on some of the common latency numbers. Which are very crucial for system design.
It's not critical to know the exact number, but developing a sense of the relative orders of magnitude difference is important.
Some of these latency number like disk seek time have changed drastically as technology evolves.
whereas the network latency between countries has stayed pretty much the same as they have to obey the laws of physics.
let's see what are some time units first:
Examples:
Microseconds Operations:
A typical Memcache or redis get operation takes about 1 millisecond as measured by the client.
The 1 millisecond reported for a typical GET operation includes:
This latency is common for high-performance, low-latency applications where the client and server are in the same zone or close proximity.
Milliseconds Operations:
Example: Your client is in Zone A, while the Redis/Memcache server is in Zone B.
Second Operations: