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

make the query rate limiting bucket configurable (minute/second) level #14498

Open
deemoliu opened this issue Nov 19, 2024 · 0 comments
Open
Assignees

Comments

@deemoliu
Copy link
Contributor

There are two types of dashboard customers supported by Pinot

  1. when opening a dashboard, there will be a sudden increase of QPS sending to Pinot. we'd like to support these query.
  2. if the dashboard has a refresh feature and sending queries to Pinot every few seconds, we'd like to rate limit these queries.

Pinot supports query quota and throttling at table/database/application level, which helped when we support dashboard queries. Current the time bucket is configured at second level as below, we proposed to add support for minute level query quota.

{
  "tableName": "pinotTable",
  "quota": {
    "maxQueriesPerSecond": 300
  },
  ...
}
@deemoliu deemoliu self-assigned this Nov 19, 2024
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