You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes if the collection is too big, it will make too many goroutines in one time when using parallel methods. That will significantly increase resource usage, especially when the iteratee function is computationally-Intensive, io-Intensive, or both.
An example that requests every URL in a huge list, will start so many requests at the same time:
Sometimes if the collection is too big, it will make too many goroutines in one time when using
parallel
methods. That will significantly increase resource usage, especially when theiteratee
function is computationally-Intensive, io-Intensive, or both.An example that requests every URL in a huge list, will start so many requests at the same time:
I think there should have an option to set the max concurrency count, which means up to configured number
iteratee
calling at the same time:I will enjoy implementing it.
The text was updated successfully, but these errors were encountered: