~/talk

Sleeping on the job

Talkat NoRuKo 2020 · on Friday, 2020-08-21· [microservices, web-performance]
slides:none on file

Practical checklist for background jobs: use durable queues (Redis for fast lpush/rpop or AWS SQS via the skewer client) and monitor p50/p95/p99 with Datadog or AppSignal; deploy job class changes in blue‑red‑green two‑step deploy so old workers don’t crash on new payloads; break long work into chunks or use the iteration API / sequential perform pattern to make jobs interruptible and fair; apply concurrent execution locks (suo/Redis) and DB throttles (dbwaiter.gently) to avoid resource congestion and have an emergency blackhole key to discard runaway jobs.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Background jobs
  3. 3:00Background jobs explained
  4. 5:44Monitoring background jobs
  5. 8:44Twostep deploy
  6. 11:38Storage
  7. 16:40Sequential execution
  8. 20:24Job interruptibility
  9. 26:26Dockpiling
  10. 30:11Control
  11. 32:39Queues
  12. 39:07Wrap up
~/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.