All the overhead of switching contexts is applied to the thread one time.
切换上下文的所有开销都一次性应用到线程。
Due to the overhead involved in context switching to a thread or process for any amount of work, systems with small-scope granularity are often inefficient and suffer from low performance.
由于任意工作量的一个线程或进程的上下文切换涉及到的开销较大,小粒度级的系统往往效率低下且遭遇低性能问题。
This avoids network latency and the overhead of inter-process communication, as well as context switching in the operating system, further contributing to extreme speed.
这样就能够避免网络延迟、进程间通信的开销以及操作系统中的上下文切换,从而进一步提高速度。
应用推荐