I recently wrote a concurrent tool using channels and goroutines and
saw a 10x improvement over the sequential tool, and that is without
any tuning. So I'd say that yes it is possible.
On Sat, Aug 5, 2017 at 9:13 AM, Mandolyte wrote:
> I have a command line program (Java with mostly network i/o)
I'm sure at some point you'd run into limits, probably with filehandles,
but you can definitely do this. You can use .Start() instead of .Run() on
your os.Cmd, and it's backgrounded by default. Or you ran call .Run() in
goroutines and keep track of them with a waitgroup.
--
You received this mess