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.
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.
I will starve to death if you don’t feed me some code. Quora : https://www.quora.com/profile/Mourya-Venkat-1