~/talk

Property-testing async code in Rust to build reliable distributed systems

Talkat RustLab 2023 · 2023-11-19..11-21· [distributed-systems, testing]
links:none on file
slides:none on file

Claim: nondeterministic awaits hide races; solution is a deterministic executor that uses Rust futures plus async_task and rand to control scheduling. Implementation: ~100 lines that track runnables, pick one by seeded RNG, and run permutations of task polls (works with Tokio-style spawn/block_on). Outcome: flaky 1% failures become reproducible by seed, enabling millions of randomized iterations and end-to-end CRDT editor tests in-process; practical stubs (filesystem, network) inject yield points so the technique scales to real systems.

AI-written summary · about

  1. 0:00Intro
  2. 4:45Propertytesting
  3. 13:10Why Rust
  4. 13:45Code
  5. 17:10Test executor
  6. 25:35Test application
  7. 28:35Key takeaways
  8. 30:10Discussion
~/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.