tianhui5 commented on issue #7129:
URL: 
https://github.com/apache/incubator-doris/issues/7129#issuecomment-979058445


   > I see. Doris already has `max_connection` limit which can be set for each 
user. But I think what you need is not just limit the number of connection, but 
to limit the `rate` of request.
   > 
   > As far as I know, Guava's rate limiter may meet the requirement. But what 
more important is, how to define the `rate`? Simply put, it may be a limitation 
of QPS. But the essence is "control the consumption of cluster resources per 
unit time."
   > 
   > 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!
   
   Where do you think the limiter should be put, BE or FE? As Guava is for 
Java, Do you think the limiter is better in FE? 


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to