Skip to content

Conversation

dparrish
Copy link
Contributor

The WaitGroup method used has an uneven work load distribution. It will
create up to maxInParallel goroutines and then wait for them ALL to
complete before starting another maxInParallel goroutines and so on.

Using a semaphore instead, it will try to keep up to maxInParallel
goroutines processing all at the same time.

The WaitGroup method used has an uneven work load distribution. It will
create up to `maxInParallel` goroutines and then wait for them ALL to
complete before starting another `maxInParallel` goroutines and so on.

Using a semaphore instead, it will try to keep up to `maxInParallel`
goroutines processing all at the same time.
@teivah
Copy link
Member

teivah commented Apr 18, 2019

Conflictless PR version here: #189

@teivah teivah closed this Apr 18, 2019
@teivah teivah added the duplicate Duplicate PR / issue. label Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate PR / issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants