↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

Consistency

Jepsen focuses on analyzing safety properties in distributed systems, especially by detecting violations of consistency models. This reference guide explains what consistency models are, which kinds of behaviors they allow or forbid, and how to reason about what consistency guarantees a particular program requires. It introduces basic definitions, gives intuitive explanations and theoretical background, and points to relevant literature for practitioners, academics, and enthusiasts.

Reading notes
#

  • A consistency model is presented as a safety property that constrains what a system is allowed to do.
  • Formally, a consistency model specifies a set of histories that the system may execute legally.
  • Serializability is given as an example model where every permitted history must correspond to some totally ordered execution.
  • Consistency models can also be characterized by which specific phenomena (patterns of operations) they forbid.
  • Phenomena such as G1a (Aborted Read) involve situations like a transaction reading data written by another transaction that later aborts.
  • Both models and phenomena can be described via dependencies between operations, such as one transaction reading a value previously written by another.
  • These dependencies form a graph whose structure reflects how transactions influence one another.
  • Different consistency guarantees arise from preventing certain types of cycles in the dependency graph.