admission: prioritization thresholds for workloads #84496
Labels
A-admission-control
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-kv
KV Team
Is your feature request related to a problem? Please describe.
Today Admission Control has a single threshold for throttling requests regardless of priority. This means that if you kick off a low priority job that pushes the store over the current threshold (i.e. number of files/sub-levels in L0) all requests may get throttled. The queue will prioritize high priority work first, but depending on the distribution of work it is still possible for high priority work to get throttled.
Describe the solution you'd like
We should consider introducing different thresholds for throttling high/low priority work. For example low priority work should start being throttled once the store hits 80% of the threshold, which should help prevent reaching 100% when foreground application traffic (i.e. high priority work) begins being throttled. The number 80% is a random suggestion and is no backed by experimentation. We should first ascertain the efficacy of this proposal through an experiment and use that to determine the appropriate thresholds that would result in predictable latencies for foreground traffic.
Additional context
Related to #82114
Jira issue: CRDB-17692
The text was updated successfully, but these errors were encountered: