~/talk

Scaling a Distributed Priority

links:none on file
links:none on file
slides:none on file

A horizontally scalable distributed priority queue that uses sharded MySQL with transactional writes and secondary indexes, a Fox router that keeps in‑memory distribution and priority metadata, and a thrift API to NQ/DQ/ACK/KNACK. It supports deferred delivery, 32‑bit priority, leasing with lease extensions, writer thread rate limits and continuous load testing. It handles roughly 700 billion items per day, survived a Thanksgiving 2018 write overload by adding backpressure and shard health checks, and still works while chasing thin‑spreading and global routing limits.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44Facebook’s distributed priority queue
  3. 3:55Fox in async processing
  4. 6:02Fox with producers and consumers
  5. 8:32MySQL sharding
  6. 10:41Enqueue challenges
  7. 12:49Thanksgiving 2018 outage
  8. 13:29Fox dequeue operations
  9. 15:37Fox router efficiency
  10. 16:38Thin spreading problem
  11. 17:20Scaling Fox learnings
~/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.