-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
openlineage: use ProcessPoolExecutor
over ThreadPoolExecutor
.
#39235
openlineage: use ProcessPoolExecutor
over ThreadPoolExecutor
.
#39235
Conversation
e8edb6a
to
582d9b1
Compare
7670638
to
05261ed
Compare
Needed a bit more time to confirm in various environment that Converting to ready for review since I've added configurable |
Signed-off-by: Jakub Dardzinski <kuba0221@gmail.com> Make `max_workers` configurable. Signed-off-by: Jakub Dardzinski <kuba0221@gmail.com>
05261ed
to
b9bb056
Compare
Internal tests did not find any problems when this approach is enabled. |
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 working on this, @JDarDagran , @rahul342 confirmed things worked with our internal benchmarks - it will be great to see this change reaching Airflow + OL users.
Make `max_workers` configurable. Signed-off-by: Jakub Dardzinski <kuba0221@gmail.com>
This may possibly fix #39232. I tested the solution many times locally and deployed in Astro Cloud (so it gives me quite certainty it works).
I don't really know how to write tests for the change (load test is the thing but do we do this in regular tests?). Some guidance would be very much helpful.