~/talk

Prioritization justice: lessons from making background jobs fair at scale

Talkat Euruko 2025 · 2025-09-18..09-19· [ruby]
slides:none on file

Background job fairness matters when greedy tenants cause long tail latency; four concrete strategies compare tradeoffs: shuffle sharding splits work cheaply but can underutilize, interruptible iteration slices large jobs to avoid blocking, and throttling uses a leaky bucket to spill excess into slow queues. A central arbiter with a per-tenant ledger routes batches and proves practical for heavy IO work (AI workflows, data imports). Prototype gem Sidekick Fair Play targets Sidekick + Redis/Postgres and is reported to scale on a real project.

AI-written summary · about

  1. 0:00Introduction
  2. 3:21Latency breaks fairness
  3. 6:11Fairness importance
  4. 7:14Per-tenant queues challenges
  5. 11:08Four fair job strategies
  6. 13:14Shuffling to reduce risks
  7. 15:19Interruptible iteration
  8. 17:29Throttling with leaky bucket
  9. 18:36Fairness manager approach
  10. 22:32Choosing the right strategy
  11. 23:55Resources
  12. 25:43Closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.