empiredan commented on code in PR #98: URL: https://github.com/apache/incubator-pegasus-website/pull/98#discussion_r2015543977
########## _docs/zh/administration/throttling.md: ########## @@ -45,24 +45,40 @@ write_throttling流控目前支持两种操作类型: * delay_ms_before_reject:reject操作返回错误码之前的推迟时间,单位毫秒,需满足>=0。 * delay和reject配置可以同时提供两个,也可以只提供其中一个。 * 如果delay和reject配置同时提供,且QPS同时达到了delay和reject的阈值,那么会执行reject操作。 +* 表级流控会均摊到每个分片上,因此不宜设置太小。假设`temp`表具有256个分片,并设置下方示例中的流控参数,具体流控判定时,若某分片QPS超过(1000/256)则将采取delay操作,某分片QPS超过(2000/256)将采取reject操作。 Review Comment: Can you also explain the parameters of `write_throttling_by_size` in the example below? -- 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]
