tianhui5 commented 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`) or load 
number(`max_running_txn_num`) in certain period (`report_stats_period`), the 
default period is 10 second(10 * 1000).
   The design of this feature is clear: Each FE keep its query number locally, 
and broadcast the query number every period. So when there is a query arrive, 
if the total query number in last period is exceed threshold, it 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