carlos / platform Public

console-slow-writes

The console's slow CLI writes read less, and at once (console UX + perf, Part 2). Measured on newPerfFixture grown toward flagship (lifetimes on, 100 instances in three regions, 20 Go-program releases, 25 ms per S3 request).

  • ship: the wrong-program rule reads its 20 manifests ten at a time, streamed and capped at 1 MiB each (an over-cap manifest fails the check closed); console work after the upload 975 -> ~410 ms.
  • instance create: the live edges snapshot is read once per request, concurrently, while the door's other checks run (a write memo holding only box-written objects, prefetched under the door's 15 s deadline); holder, claim and cap reads narrowed and run together. 70 -> 51 S3, 2,050 -> ~590 ms.
  • app create: the same changes, ~1,200 -> ~410 ms. promote: manifest and pipeline read at once.
  • No write moved or reordered. TestPerfWriteRoutesMeetTheBudget locks each write door's S3 count and its time after the body (stamped server-side).

Reviews: Astra round 1 NOT READY (P1 prefetch outlived the deadline; P1 a prefetch panic could become a write; P2 manifest bytes; P2 JSON timing), all fixed with witnesses in 1d98637d. Round 2 READY AFTER FIXES: one P2 (an over-cap valid manifest skipped the program check), fixed fail-closed in ee77bd62 with TestOversizedValidManifestStillRefusesAProgramChange. Census census-ruling-console-slow-writes approved by Astra on #280 at 54233a0a. Not released.

Commits 5
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity