Re: [go-nuts] Re: How can I distribute incoming HTTP request to 5 asynchronous workers?

2017-01-31 Thread Sairam Kunala
If one incoming HTTP request should be sent to 5 workers async, See *solution #5* for similar problem/solution - http://rodaine.com/2015/04/async-split-io-reader-in-golang/ . A video file is required to be processed in multiple formats where io.MultiWriter is used to send all data asynchronously

Re: [go-nuts] Multiple goroutine timeout for waitgroup not working

2017-01-08 Thread Sairam Kunala
The ran the code on play, seems to come out within 2 seconds. https://play.golang.org/p/yZIAvXI8IX On Sun, Jan 8, 2017 at 12:53 PM, wrote: > > Can you please help to correct below program where timeout not seems > working > > Work 1 - have 1 second > Work 2 - have 3