~/talk

Separate Protocol Logic from I/O for Deterministic Tests

Talkat Bug Bash EU 2026 · on Wednesday, 2026-09-30· [testing, frontend-architecture]
slides:none on file

Explains how Corrosion’s broadcast protocol is split into a pure state machine and a small I/O trait so tests run deterministically without sockets or threads. Uses sans IO design, a binary-heap event queue and virtual time to simulate and measure delivery across 2,000 nodes, queueing timers, node failures and message drops. Tests inject randomness via seeds, replay scenarios exactly, and verify message delivery and timing; warns that integration with real I/O still needs separate end-to-end checks.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:21Challenges in testing distributed systems
  3. 3:49Protocol logic simplicity and goals
  4. 5:55Separating protocol logic from I/O
  5. 9:06Implementing the sans-IO pattern
  6. 11:32Testing with virtual time
  7. 14:39Simulating failures in tests
  8. 16:45Benefits and limitations
  9. 18:32Summary and sans-IO approach
~/search
type to search 6,853 conferences, 146,420 speakers and 195,625 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.