-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Feature] Limit cluster resource usage in user granularity #7129
Comments
This comment was marked as outdated.
This comment was marked as outdated.
What if the request exceed the limit? return error or slow down? |
As far as I know, MySQL have variable |
This comment was marked as outdated.
This comment was marked as outdated.
I see. As far as I know, Guava's rate limiter may meet the requirement. But what more important is, how to define the So I think in the first version, we can implement this function through simple rules (such as QPS). But in the specific design, we must reflect the abstract design of "system resources" so that we can add more rules later. Looking forward your PR! |
This comment was marked as outdated.
This comment was marked as outdated.
Impala’s AdmissionController does a similar thing, |
The limit of operation frequency is developed in #7474 , user can config the threshold through frontend config like below: The design of this feature is clear: |
Search before asking
Description
In productive environment, the Doris cluster is often facing pressure from many aspects (mainly from stream load and query), cause many resource shortage problem like OOM, especially in shared cluster.
As above picture shows, the memory usage waves too big.
I think it's better to have a way to limit the resource usage of each user. Maybe limit the usage frequency is a proper way.
Use case
No response
Related issues
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: