-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NO-ISSUE] feat(import): use poolboy to have bounded concurrency #360
Conversation
17f10fe
to
ff8cce7
Compare
Ah great I can now ask the questions I had about
|
It's simple by design, no fancy stuff in, I may have miss some things inherent to work queues (not willingly though). |
Could you expand a bit on that? I'm not a pool expert in any way. :) |
We could imagine an option which changes the number of thread depending on the CPU load, it's actually possible to dynamically change the number of thread, but you'll have to do it yourself. |
Ah perfect, thank you! |
I think hackage is not up-to-date on the CI |
Yes you should update the timestamp in the freeze file I believe |
Weirdly I did some tests regarding Pools' size, it seems that smaller pools are faster:
|
187db4c
to
7bc1e07
Compare
Seems all right, should I squash? |
Yep', go for it!
|
3cac949
to
596c02c
Compare
@blackheaven I'll let you correct the commit name / PR title and then MergifyBot will merge :) |
596c02c
to
a63a195
Compare
Proposed changes
Contributor checklist
Change
I finally found the time to have a shot at a simple bounded concurrency library.
On my Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz (10 Cores / 20 Threads (HT)).
Regarding max metrics: