Re:Grumpy: Go running Python
by moosingin3space on Wednesday January 04, 2017 @02:56PM
(#13321507)
One of the reasons an asynchronous I/O event loop can be faster than a threaded model is that the CPU spends more of its time in a single userspace thread per core, switching between clients that are ready. A threaded server will incur a kernel-space context switch each time, while an asynchronous loop will keep the processing time in userspace.
[ Parent
| on HN ]
There are no comments on this comment yet.