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

Please help me understand how resourcegroup works here #165

Open
xmubeta opened this issue Feb 16, 2022 · 3 comments
Open

Please help me understand how resourcegroup works here #165

xmubeta opened this issue Feb 16, 2022 · 3 comments

Comments

@xmubeta
Copy link

xmubeta commented Feb 16, 2022

Hi all,

I understood resource groups in Presto. But after I reviewed the code of presto-gateway, I can only see the CURD API for resource group and selector. I didn't find any clue about how it works in presto-gateway. So I am confused. Anyone can give me a hint? Thanks.

@xmubeta
Copy link
Author

xmubeta commented Feb 16, 2022

I may find the answer after reading the doc of Trino - https://trino.io/docs/current/admin/resource-groups.html. The Presto cluster can use MySQL DB as configuration instead of file. It is not mentioned in Presto doc - https://prestodb.io/docs/current/admin/resource-groups.html.

Please help confirm if my understanding is right. Thanks.

@endoplasmicR
Copy link
Contributor

yes, the trino resource groups support dynamic loading when supplied in DB, presto-gateway supports that with:
https://github.com/lyft/presto-gateway#resource-groups-api

@endoplasmicR
Copy link
Contributor

also, feel free to join the slack channel for faster responses:
https://trinodb.slack.com/archives/CG9K9MX1V

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

No branches or pull requests

2 participants