-> Throughput control does not do RU pre-calculation of each operation. Instead, it tracks the RU usages *after* the operation based on the response header. As such, throughput control is based on an approximation - and **does not guarantee** that amount of throughput will be available for the group at any given time. This means that if the configured RU is so low that a single operation can use it all, then throughput control cannot avoid the RU exceeding the configured limit. Therefore, throughput control works best when the configured limit is higher than any single operation that can be executed by a client in the given control group. The duration of requests should also be considered. For example, when using change feed, you should configure the page size in `spark.cosmos.changeFeed.itemCountPerTriggerHint` to be a modest amount, so that client throughput control can be re-calculated with higher frequency, and therefore reflected more accurately at any given time.
0 commit comments