[go-nuts] Re: Go Concurrency Patterns: Pipelines

2017-02-21 Thread Tamás Gulácsi
You should benchmark, but md5 is not cpu hungry at all, so the disk read speed will dominate. That means 2*runtime.NumCPU disk-reading goroutines is a good rule of thumb. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this

[go-nuts] Re: Go Concurrency Patterns: Pipelines

2017-02-20 Thread Marco Ippolito
- What would be your rule of thumb regarding how many goroutines to start, considering to the parameters of the original question? - How would you generally go about deciding on a convenient fan-out level? On Monday, 20 February 2017 09:26:44 UTC+1, Tamás Gulácsi wrote: > > The general optimizat