Skip to content
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

PoolExecutor metrics #3329

Open
dacevedo12 opened this issue Mar 4, 2025 · 0 comments
Open

PoolExecutor metrics #3329

dacevedo12 opened this issue Mar 4, 2025 · 0 comments

Comments

@dacevedo12
Copy link

What problem do you want to solve?

In python, both sync and async worlds, there are ThreadPoolExecutors and ProcessPoolExecutors.

These executors have a max_workers parameter that constraints them. If an app hits that amount of workers, exhaustion happen which manifests as degraded performance.

Describe the solution you'd like

Having metrics of that can be useful for app developers to identify bottlenecks and determine better capacity

Implementation can be inspired by https://stackoverflow.com/questions/48572648/how-to-monitor-pythons-concurrent-futures-processpoolexecutor

Describe alternatives you've considered

Instrumenting those metrics in my app code

Additional Context

No response

Would you like to implement a fix?

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant