References — fw-09 A Server-State Query Cache

Primary sources first. Read the real implementation after you have written yours, never before.

The libraries

The concepts that actually matter

The bug this module exists to prevent

"Stale response overwrites newer data" — completion order is not issue order. Three fixes (cancellation, sequence numbers, render-time guards) all "work" for a read and are not equivalent when the request mutates. Set up and measured in fe-01's failure lab (sibling project).

  • fe-01 — Execution model (sibling project) — async ordering, and the F2 race lab
  • fe-02 — Memory & leaks (sibling project) — a cache without an eviction policy is a leak; measured at 38 MB
  • fw-08 — Router — route-level data loading
  • fe-16/fe-17/fe-18 (planned) — server state, races, and API integration as distributed systems

When a claim here proves stale, record it in PROGRESS.md section 7.