{
  "slug": "stasis",
  "term": "Stasis",
  "aliases": [
    "Stasis transactional storage"
  ],
  "definition": "Stasis is a research framework that exposes configurable logging, recovery and data-layout primitives for building transactional storage.",
  "note": "Design: Applications choose storage structures and operations. Stasis supports steal/no-force recovery and nested top actions. [stasis06]\n\n2006 recovery proposal: Section 4's LSN-free recovery was not implemented. Blind redo overwrites logged bytes; ordered replay may temporarily leave inconsistent pages. [stasis06]\n\n2006 evaluation: Section 5.3's optimized object experiments mimicked runtime behavior without recovery support. Their timings do not validate recovery. [stasis06]\n\n2009 follow-up: The authors report extensions to Stasis r1156 for segments and an application cache, but practical segment-based storage had not been built. Their network experiment inserted 2 ms delays, not a deployed distributed system, and omitted LSN-estimate communication costs. [segments09]\n\nRedo rule: Deterministic, idempotent operations are insufficient if replay reads changing page state. Blind redo uses logged values, while forward execution may read pages. Removing page LSNs retains write-ahead and ordering requirements. [stasis06] [segments09]\n\nWorked examples: Ordered blind writes restore six selected three-byte states; a stale older retry fails. In a separate copy example, even ordered replay changes [3,2,7] to [3,3,7] by reading a changed source byte. Logging its original value avoids this error. These are synthetic illustrations, not a Stasis crash test. [hesela-redo]\n\nComparison: Valor's main asynchronous comparison removed O_SYNC from the Stasis log; transaction-granularity tests are discussed separately as durable. These are different experiment configurations. [valor09]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "A historical research design does not establish current implementation support or performance on contemporary storage.",
      "citationIds": [
        "stasis06",
        "valor09"
      ]
    }
  ],
  "related": [
    "write-ahead-log",
    "log-sequence-number",
    "page-lsn",
    "compensation-log-record",
    "idempotency",
    "crash-consistency",
    "physiological-logging"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-26",
  "citations": [
    {
      "id": "stasis06",
      "title": "Sears and Brewer. Stasis: Flexible Transactional Storage. OSDI 2006, pp. 29-44; sections 3, 4 and 5.3.",
      "url": "https://www.usenix.org/legacy/event/osdi06/tech/full_papers/sears/sears_html/index.html",
      "accessed": "2026-11-26"
    },
    {
      "id": "valor09",
      "title": "Spillane et al. Enabling Transactional File Access via Lightweight Kernel Extensions. FAST 2009, sections 2.3, 4.1 and 4.4.",
      "url": "https://www.usenix.org/legacy/event/fast09/tech/full_papers/spillane/spillane_html/",
      "accessed": "2026-11-26"
    },
    {
      "id": "segments09",
      "title": "Sears and Brewer. Segment-Based Recovery: Write-ahead logging revisited. PVLDB 2009, sections 4.1, 5.4-5.5, 7.2, 7.4 and 9.",
      "url": "https://www.vldb.org/pvldb/vol2/vldb09-583.pdf",
      "accessed": "2026-11-26"
    },
    {
      "id": "hesela-redo",
      "title": "Hesela: synthetic blind-redo worked example, enumerated starts and failure controls (JSON).",
      "url": "https://hesela.dev/research/stasis-redo.json",
      "accessed": "2026-11-26"
    },
    {
      "id": "hesela-redo-code",
      "title": "Hesela: standalone Python generator for the blind-redo illustration.",
      "url": "https://hesela.dev/research/stasis_redo.py",
      "accessed": "2026-11-26"
    },
    {
      "id": "hesela-redo-tests",
      "title": "Hesela: standalone checks for the blind-redo illustration and its published JSON.",
      "url": "https://hesela.dev/research/test_stasis_redo.py",
      "accessed": "2026-11-26"
    }
  ],
  "provenance": [
    "Primary-source synthesis plus a synthetic byte-assignment illustration. No native Stasis execution, physical fault injection or performance reproduction was performed.",
    "The 2006 implementation boundary is dated evidence, not a claim that later code never implemented the design. [stasis06]"
  ]
}
