tianhui5 edited a comment on issue #7129:
URL: 
https://github.com/apache/incubator-doris/issues/7129#issuecomment-1038570176


   The limit of operation frequency is developed in #7474 , user can config the 
threshold through frontend config like below:
   `ADMIN SET FRONTEND CONFIG ('key' = 'value')`
   You can limit the query number(`max_running_query_num`) in certain period 
(`report_stats_period`), the default period is 10 second(10 * 1000). And you 
can also limit the load number through `max_running_txn_num`.
   
   The design of this feature is clear: 
   Each FE keeps its query number locally, and reports the query number to 
Master every period, So every FE can get the query number in each FE through 
metadata synchronize. When there is a query arrive, if the total query number 
in last period exceeds threshold, the system reject the query. User can only 
query in next period.


-- 
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]

Reply via email to