~/talk

Creating a Distributed Round Robin Scheduler with Etcd

Talkat LISA19 · on Tuesday, 2019-10-29· at 14:00· Salon F· [databases, distributed-systems]
links:none on file
slides:none on file

Built a distributed round robin scheduler on top of etcd using leases and watchers and embedded etcd in a Go service, avoiding a single leader and instead having multiple schedulers compete to advance a lexicographic ring. Implementation uses etcd transactions, lease keepalives and gRPC watch fanout, scales to thousands of workers per scheduler, and leverages the etcd 3.4 lease heap fix after hitting slow lease expiry. Testing and failure injection proved hard but the system works in production.

AI-written summary · about

  1. 0:00Start
  2. 2:24Scheduling Mode
  3. 11:44Diagram of the Replicated State Machine Architecture
  4. 17:09Key Takeaways
  5. 24:09Leases and Watchers
  6. 25:12Create a Distributed Trigger
  7. 33:54Does It Scale
~/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.