Brian Candler
May 12, 2021

--

The point made by Bryan is: there’s no need to start a goroutine in advance of doing work, nor to keep it around after it’s done work. Just start a goroutine when you have some work to do, and let it terminate when its work is done. The only benefit of a worker pool is to limit the concurrency — and there are better ways of doing that.

--

--

No responses yet