{
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-12",
  "slug": "read-your-writes",
  "term": "Read-your-writes",
  "aliases": [
    "Read-your-writes consistency",
    "RYW"
  ],
  "definition": "Read-your-writes is a session guarantee requiring subsequent reads to use a state that incorporates the session's prior successful writes.",
  "note": "The guarantee is scoped to a session, not every client. Another write may supersede an earlier value, so the session need not read back those exact bytes. A stale replica must catch up, be avoided, or decline the read when it cannot satisfy the session's dependency. This is different from monotonic reads, which protects previously observed state rather than only the session's own writes.",
  "related": [
    "linearizability",
    "monotonic-reads"
  ],
  "citations": [
    {
      "id": "session-guarantees",
      "title": "Douglas B. Terry et al. Session Guarantees for Weakly Consistent Replicated Data. PDIS 1994, sections 3.1 and 3.2.",
      "url": "https://classes.cs.uchicago.edu/archive/2026/spring/23380-1/papers/terry_sessionguarantees.pdf",
      "accessed": "2026-10-12"
    },
    {
      "id": "hesela-consistency",
      "title": "Storage consistency: ordering is not a transaction or a durability promise",
      "url": "https://hesela.com/analyses/storage-consistency-ordering/",
      "accessed": "2026-10-12"
    }
  ]
}
