Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvstreamer: increase default avg response multiple
This commit increases the default value for `sql.distsql.streamer.avg_response_size_multiple` cluster setting from 1.5 to 3.0. This setting controls the factor by which the current "avg response size" estimate is multiplied and allows for TargetBytes parameter to grow over time. In the reproduction query from the previous commit it was determined that the growth might not be as quick as desirable. The effect of this change is as follows: - if we have responses of varying sizes, then we're now likely to be more effective since we'll end up issuing less BatchRequests - if we have responses of similar sizes, then we might pre-reserve too much budget upfront, so we'll end up with lower concurrency across ranges. Thus, we don't want to increase the multiple by too much; however, keeping it at 1.5 can be quite suboptimal in some cases - 3.0 seems like a decent middle ground. This number was chosen based on running TPCH queries (both via InOrder and OutOfOrder modes of the streamer) and the reproduction query. (For the latter this change reduces the number of gRPC calls by a factor of 3 or so.) Release note: None
- Loading branch information