tidwall / evio

Fast event-loop networking for Go
MIT License
5.9k stars 493 forks source link

Using channels #69

Open rock59 opened 4 years ago

rock59 commented 4 years ago

I need to use a goroutine pool to execute blocking tasks. Almost all goroutine pool libraries use channels to pass tasks to worker goroutines or at-least use channels for goroutine wake-up. Does using channels in main io loops goroutines (without blocking on channel write) degrade performance of io loops too much ?