mourya venkat
1 min readJul 23, 2020

--

The problem with this is, you are spinning dynamic number of go-routines. Let's say if the total items in buffered channel is 1,00,000 your approach makes it spin 1,00,000 goroutines per request which is not ideal.

--

--

mourya venkat
mourya venkat

Written by mourya venkat

I will starve to death if you don’t feed me some code. Quora : https://www.quora.com/profile/Mourya-Venkat-1

No responses yet