~/talk

Resilient Design 101: Queue Theory

slides:none on file

Wix runs ~500 microservices for ~100 million users and queue theory explains why latency explodes as utilization nears 100%: small variance makes queues grow toward infinity, so provision to keep utilization around 50–70% and limit queues (socket backlog default 128). Enforce back pressure (HTTP 503), avoid unbounded callback queues, and remember Kafka has no built‑in backpressure. Tune thread pools (Java thread stack ~1 MB), use Little’s Law to infer hidden queue sizes, and pick timeouts from measured histograms and human thresholds (20 ms, 100 ms, 1 s).

AI-written summary · about

  1. 0:00Intro
  2. 3:36Queues
  3. 8:09Limit Queues
  4. 11:51In practice
  5. 12:39Backpusher
  6. 13:55Blocking
  7. 15:12Loadshedding
  8. 16:35Queue Architecture
  9. 17:55How many threads
  10. 19:56How to optimize
  11. 22:31Synchronous systems
  12. 25:41Synchronous overload
  13. 26:33Synchronous servers
  14. 27:28Littles Law
  15. 30:35Example
  16. 32:29Timeouts
  17. 35:24RealWorld Constraints
  18. 37:33Timer Budgets
  19. 39:05Debt Buyer
~/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.