Skip to content

Supporting worker isolation using worker pool#19342

Merged
ajaygeorge merged 1 commit intoprestodb:masterfrom
abhiseksaikia:apr_worker_isolation
Jun 28, 2023
Merged

Supporting worker isolation using worker pool#19342
ajaygeorge merged 1 commit intoprestodb:masterfrom
abhiseksaikia:apr_worker_isolation

Conversation

@abhiseksaikia
Copy link
Contributor

@abhiseksaikia abhiseksaikia commented Apr 5, 2023

We can split the workers into two pools: the leaf worker pool and the intermediate worker pool. The leaf worker pool will contain workers responsible for leaf stage tasks, while the intermediate worker pool will contain workers responsible for intermediate stage tasks. Worker isolation gives us the flexibility to scale the two pools differently

Test plan -

  1. Run existing unit tests
  2. Verify by deploying the changes
== RELEASE NOTES ==

General Changes
* Add support for worker isolation by configuring leaf and intermediate worker pools.

@abhiseksaikia abhiseksaikia force-pushed the apr_worker_isolation branch from a4fbcc5 to d15bc6d Compare April 5, 2023 21:13
@abhiseksaikia abhiseksaikia changed the title Introduce worker pool Supporting worker isolation using worker pool Apr 5, 2023
@abhiseksaikia abhiseksaikia force-pushed the apr_worker_isolation branch from d15bc6d to 2096020 Compare April 6, 2023 00:09
Copy link
Member

@wanglinsong wanglinsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abhiseksaikia
Copy link
Contributor Author

Please update release notes based on the guidelines. https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines#order-of-changes

@wanglinsong Thanks for early heads up! The PR is not ready for review yet, I will mark it as ready for review once I reformat it and address few things

@abhiseksaikia abhiseksaikia requested review from MnO2 and tdcmeehan April 11, 2023 16:29
@abhiseksaikia abhiseksaikia marked this pull request as ready for review April 11, 2023 16:29
@abhiseksaikia abhiseksaikia requested a review from a team as a code owner April 11, 2023 16:29
Copy link
Contributor

@ajaygeorge ajaygeorge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good. Added some comments

@abhiseksaikia abhiseksaikia force-pushed the apr_worker_isolation branch 5 times, most recently from aa473f8 to 605e32e Compare April 27, 2023 00:42
@jainxrohit jainxrohit self-requested a review April 27, 2023 01:49
@tdcmeehan tdcmeehan requested a review from atris June 1, 2023 15:23
@abhiseksaikia abhiseksaikia force-pushed the apr_worker_isolation branch 3 times, most recently from b12eae4 to 8b2ac9a Compare June 26, 2023 17:19
@abhiseksaikia abhiseksaikia requested a review from ajaygeorge June 26, 2023 19:49
Copy link
Contributor

@ajaygeorge ajaygeorge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % some comments

We can split the workers into two pools: the leaf worker pool and the
intermediate worker pool. The leaf worker pool will contain workers
responsible for leaf stage tasks, while the intermediate worker pool
will contain workers responsible for intermediate stage tasks. Worker
isolation gives us the flexibility to scale the two pools differently
@abhiseksaikia abhiseksaikia force-pushed the apr_worker_isolation branch from 8b2ac9a to 94490df Compare June 26, 2023 22:23
@ajaygeorge ajaygeorge merged commit 88c5485 into prestodb:master Jun 28, 2023
@amitkdutta
Copy link
Contributor

CC: @pranjalssh

@wanglinsong wanglinsong mentioned this pull request Jul 27, 2023
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants