bziobrowski opened a new pull request, #14226:
URL: https://github.com/apache/pinot/pull/14226
This PR adds a way to throttle queries (executed with both v1 or v2 engine)
based on `applicationName` query option.
Queries such as :
```sql
set applicationName='test';
select * from tables
```
will be subject to rate-limiting using QPS (queries-per-second) number
defined via rest api:
`/applicationQuotas` - list all application name to qps mappings
`/applicationQuotas/{appName}` (GET/POST) - read or set application qps
Mappings are stored as a map at `/CONFIGS/CLUSTER/applicationQuotas` path.
Similary to database QPS quota, application QPS value is split between all
online brokers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]