
Golang G/M/P Time Scale
via Dev.tolbvf50mobile
If we imagine that 1 millisecond is one “day”, then 1 second becomes about 3 years. 1 s ≈ 3 “years” 1 ms = 1 “day” 2 µs ≈ 1 “minute” 10 ns ≈ 1 “second” Thus, the RTT over 5000 km (~56 ms) is about 2 “months”. And G/M/P scheduling (context switching), which takes ~1000 ns, is about 30 “seconds” in this scale.
Continue reading on Dev.to
Opens in a new tab
0 views