-
Notifications
You must be signed in to change notification settings - Fork 11
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
Dynamically Configurable ThreadPool sizes #39
Comments
hey @allenss-amazon , i would like to work on this. |
Go for it! Having this as a feature will really help developers. There's all sorts of testing situations where being able to dynamically change the # of threads is really helpful. |
One of the drawback of dynamically adjusting the thread pool size is that it involve more complication and potentially more contention. I would like to better understand the use-case when it's expected to be useful. |
Operationally, I've sometimes found that when investigating a problem that's live and persisting that by manipulating the # of threads and their mutual priority that either the situation resolved OR a better understanding of the problem was obtained. Also when doing tuning for different instance sizes, etc and chasing latency vs throughput issues that manipulating the thread count substantially reduces the time to resolution. I don't understand why dynamically changing the thread-count vs statically changing the thread-count would affect contention. I do agree that dynamically changing the thread pool size can be complicated. But perhaps @dpbnasika can generate code that's simple enough to have confidence in it's stability and clarity. |
@allenss-amazon i have gone through the source, is this where it is hardcoded?. and do we need this to dynamically configure?.
but i would like to have a bit intro to the dev environment, perhaps, in the call i would also like to join on wednesday, as i am very new to this project and would like to understand the workflow and get a basic understanding of the project. would that be fine?. |
I believe that those are where the default values are set. I believe that those can be overridden at module load time. You're welcome to join the wednesday call. |
Making the threadpool sizes dynamically configurable would be a huge boon development testing and characterization.
The text was updated successfully, but these errors were encountered: