oxidecomputer / crucible

A storage service.
Mozilla Public License 2.0
175 stars 18 forks source link

Fine-tuning backpressure clamping, and API cleanups #1442

Closed mkeeter closed 2 months ago

mkeeter commented 2 months ago

Right now, backpressure goes to infinity as you approach the max value. However, it's possible to exceed max if you (1) start below max and (2) send a single job that pushes over the limit (e.g. a large write). If this happens, then we special-case a 1 hour backpressure delay.

All of this is kinda awkward.

This PR cleans it up: