[go-nuts] Go-Routine, Concurrency Doubt

2016-11-06 Thread bob . hiestand
SJ, If what you're asking is whether the tasks will be evenly spread among the goroutines, the answer is no. You can't guarantee such an even distribution, though over time with many more tasks than threads, all taking approximately the same amount of time, I assume you'd see a mostly smooth

[go-nuts] Go-Routine, Concurrency Doubt

2016-10-31 Thread Sadhasivam Jayabalaganesan
Hi Folks, Love to watch more and more code reviews like this ( https://www.youtube.com/watch?v=eIWFnNz8mF4 ) from Francesc Campoy. while watching the code review i got a very silly doubt in the following code snippet. Assume I have Ten tasks & set concurrency value to be 10. would that be gu