~/talk

Controlled Scheduling of Concurrent Elixir Programs

Talkat Erlang 2024 · on Monday, 2024-09-02· [concurrency, testing]
links:none on file
links:none on file
links:none on file
slides:none on file

Library implements a user-level scheduler for Elixir that instruments KV-style calls via the Elixir macro facility and exposes scheduling algorithms: random search, depth-first search, and a novel random-schedule-selection explorer. It runs the program under a scheduler process that grants put/get permissions, records repeatable execution traces and choice points, and can exhaust or randomly sample schedules. Applied to snapshot algorithms: a deterministic run of ~1,000 trials misses a bug that a randomized run exposes after roughly ≈30 scheduling decisions; prototype uses a balanced tree for schedule storage and is on GitLab.

AI-written summary · about

  1. 0:00Controlled scheduling in Elixir
  2. 1:48Motivating example for snapshot APIs
  3. 8:35Linearizability and correctness
  4. 13:07Limitations of deterministic scheduling
  5. 14:14Randomizing the scheduler
  6. 19:12Model checking with controlled scheduling
  7. 23:27Randomized schedule exploration
  8. 25:36Tool for practical testing
  9. 26:41Research group and resources
  10. 27:02Q&A
~/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.