~/talk

Good Friction:Back Pressure and Budgets at Over a Billion Runs a Week

Talkat ShipItCon 2026 · on Friday, 2026-09-04· [machine-learning, web-performance]
links:none on file
slides:none on file

System runs over a billion workflow runs a week and a synchronized cron tick creates global stampedes, so a token bucket per tenant is implemented but initial defaults (shared refill tick, single-run pricing, stall-on-failure) fail. Refactor to accrue from last check so bursts bank capacity, add live-worker‑scaled concurrency caps (budget controls rate, caps control instantaneous concurrency), and introduce backpressure with refuse early, refuse fast, refuse out loud reason codes. Result: top‑of‑hour spikes shape predictably and complaints shift from fairness to capacity.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 0:21Problem with cron expressions
  3. 1:28Friction and its hidden costs
  4. 2:31Stampede at top of hour
  5. 3:35Budget policy and its flaws
  6. 4:40Fixing token refill timing
  7. 5:43Budgets vs concurrency
  8. 6:47Putting limits on everything
  9. 7:50Dynamic concurrency limits
  10. 8:31Back pressure and refusal rules
  11. 9:37Reason codes for refusals
  12. 10:41Results and improvements
  13. 11:43Three key takeaways
  14. 12:27Conclusion and friction benefits
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.