-
Notifications
You must be signed in to change notification settings - Fork 255
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
Add CLI args for AccountsDb thread pools to validator #3281
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have other commits to add the other two threadpools (hash and "tx processing"), but left them off to simplify the diff while we figure a route forward. I do want to get the account index num threads hooked up as well
4f2e788
to
4596af9
Compare
4596af9
to
2d3bfde
Compare
2d3bfde
to
a71bda3
Compare
a71bda3
to
bc2655f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good! Just a rename request:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just did a series of rebases to clean up the commit history; happy with how minimal these commits are after the handful of cleanup PR's that came before them
I think the logic is straight forward, but I would appreciate thoughts on the "process" pool naming. This is the one that I think I've heard y'all call "foreground" before. I wasn't sure if we wanted to bubble foreground all the way up tho.
I intentionally used "foreground" on the more hidden function, and "process" for AccountsDbConfig
and the CLI; not sure which way we'll go but I anticipate having to incorporate y'alls feedback and adjusting so I left the mix in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Add hidden args to control AccountsDb foreground pool, AccountsDb clean pool, and AccountsIndex flush pool
Done:
This PR is on top of #3270 and should ship after it.Done:
Rebase on top of #3233 after it shipsProblem
See #105 - we want a way to control the size of all thread pools
Summary of Changes