4 ms·
> BTW, I've used a similar technique to create a pool of worker goroutines in Golang. Had good performance from it too. Do you mind telling more about this? Or
by avinassh 7y ago
> BTW, I've used a similar technique to create a pool of worker goroutines in Golang. Had good performance from it too.
Do you mind telling more about this? Or link, if it’s on Github
- bananadonkey 7y agoNot the OP, but I have used https://github.com/dradtke/distchan https://github.com/dradtke/distchan in prod where portability outweighed the distribution capabilities of Erlang.
- kitd 7y agoSorry, it's not public, but it was based on this: http://marcio.io/2015/07/handling-1-million-requests-per-minute-with-golang/ http://marcio.io/2015/07/handling-1-million-requests-per-min... but made more generic. The 'task' passed to each worker was a closure that was executed by the worker.