Write, then read: snapshot and collect objects
Each process writes its input, reads the others', and returns a view: the set of processes it saw. The views of one execution form a simplex. Three objects, strongest first: each allows every combination of views the previous one allows, plus new ones.
Model asynchronous · single-writer read/write registers · wait-free, any number of crashes
Chromatic subdivision
Hover a step to see the picture right after it; click to pin. A read has the colour of the register's owner. Bands separate the collects of a scan. The strip counts the simplices still possible.
Views
Shared registers
Notation: a run is written as its distinct views, smallest first, each with the processes that return it, e.g. {1} (p1), {0,1,2} (p0, p2).
How it works
From runs to a complex.
- A run gives each process p a view Vp.
- The pair (p, Vp) is a vertex, coloured by p.
- The vertices of one run form a simplex. A crashed process has no vertex, so the run ends on a face.
- All runs of an object together form its complex.
Three complexes. Immediate snapshot gives the chromatic subdivision Ch(Δ), which tiles Δ. The weaker objects add simplices that overlap it [3].
Possible outcomes. Shaded simplices and ringed vertices are those the run can still reach if nobody else crashes. Each step can only rule outcomes out, until one simplex is left.