4 ms·
You can move the the co-routine onto another thread. The go scheduler does this: https://morsmachine.dk/go-scheduler https://morsmachine.dk/go-scheduler There
by zbobet2012 9y ago
You can move the the co-routine onto another thread. The go scheduler does this: https://morsmachine.dk/go-scheduler https://morsmachine.dk/go-scheduler
There isn't really a "comparison" here. Co-routines/fibers could behave exactly like nginx does for IO or not at all. It all depends on the implementation.
- nemanjaboric 9y agoYes, sorry, I've missed the point that you can move them across the threads (was sidetracked by the usual notion of them running in the same thread).