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

Self-inclusionp ∈ Vp No miss cycleno p1, …, pk with p2 ∉ Vp1, …, pk ∉ Vpk−1, p1 ∉ Vpk ContainmentVp ⊆ Vq or Vq ⊆ Vp Immediacyq ∈ Vp ⇒ Vq ⊆ Vp

Chromatic subdivision

returned vertex vertex it can still get the run's simplex still possible: immediate snapshot-only collect-only

t = 0  · 
Possible outcomesafter each step
Vwrite V 2write level 2read, counted ⊥read, not counted 1read V[q], written ⊥read, not written yet ⊥≠collect differs from the previous one returns crash

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.

  1. A run gives each process p a view Vp.
  2. The pair (p, Vp) is a vertex, coloured by p.
  3. The vertices of one run form a simplex. A crashed process has no vertex, so the run ends on a face.
  4. 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.