{
  "slug": "backpressure",
  "term": "Backpressure",
  "aliases": [
    "back pressure"
  ],
  "definition": "Backpressure propagates downstream capacity constraints upstream so a producer slows or pauses further work.",
  "note": "Queue boundary: SEDA separates stages with explicit event queues; blocking when a downstream queue is full can propagate congestion upstream. Dropping work is a different response. Buffering can absorb a burst but cannot create downstream service capacity. [seda]\n\nWrite contract: A healthy Node.js Writable may accept a chunk while write returns false; pause further writes until drain rather than resubmitting that chunk. highWaterMark is a flow-control threshold, not a strict memory cap. Errors still need separate handling. [node-stream]\n\nPersistence: A buffer-pressure signal is not a durable-storage acknowledgement. FileHandle.sync requests a flush to the storage device; its implementation depends on the operating system and device. [node-sync]",
  "related": [
    "admission-control",
    "queue-depth",
    "coordinated-omission"
  ],
  "citations": [
    {
      "id": "seda",
      "title": "Welsh, Culler and Brewer: SEDA, SOSP 2001, section 3.3 (finite event queues and overload responses).",
      "url": "https://www.sosp.org/2001/papers/welsh.pdf",
      "accessed": "2026-11-20"
    },
    {
      "id": "node-stream",
      "title": "Node.js stream documentation: buffering, writable.write and drain.",
      "url": "https://nodejs.org/api/stream.html",
      "accessed": "2026-11-20"
    },
    {
      "id": "node-sync",
      "title": "Node.js file-system documentation: FileHandle.sync and writeFile flush option.",
      "url": "https://nodejs.org/api/fs.html",
      "accessed": "2026-11-20"
    }
  ],
  "provenance": [
    "SEDA is a service-architecture paper, not an SSD benchmark. Node.js API documentation was checked on 2026-11-20.",
    "The companion example exercises an in-memory Node.js Writable; it neither writes a storage device nor simulates power loss."
  ],
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-20"
}
