Re: [go-nuts] Worker Pool vs. New Goroutine For Each Task

2020-07-04 Thread Atakan Çolak
Thank you, perhaps two cases are quite equivalent when used with semaphores. 3 Temmuz 2020 Cuma 18:29:41 UTC+3 tarihinde Andrei Tudor Călin yazdı: > > Check out Bryan's talk[0], in particular from ~27:00 onward, where worker > pools are discussed. I highly recommend the entire talk. > > [0]

Re: [go-nuts] Worker Pool vs. New Goroutine For Each Task

2020-07-03 Thread Andrei Tudor Călin
Check out Bryan's talk[0], in particular from ~27:00 onward, where worker pools are discussed. I highly recommend the entire talk. [0] https://www.youtube.com/watch?v=5zXAHh5tJqQ On Fri, Jul 3, 2020 at 5:03 PM Atakan Çolak wrote: > Hiya everyone, > > I have a simple processor function that

Re: [go-nuts] Worker Pool vs. New Goroutine For Each Task

2020-07-03 Thread Michael Jones
If you change then will anything limit the peak degree of parallelism? The worker pool size is such a limiting factor. May be important for you. If so, plan another throttling mechanism. On Fri, Jul 3, 2020 at 7:03 AM Atakan Çolak wrote: > Hiya everyone, > > I have a simple processor function