carlos / platform Public

console-budget-cold-warm

A two-tier performance budget for the console, and S3 requests counted per background job (console UX + perf, Part 2).

  • internal/perf classifies each request. A GET or HEAD with no S3 or box request before its first byte is warm (150 ms); one with at least one is cold (500 ms). A write (POST, PUT, PATCH, DELETE) has 500 ms measured after its body is read. The Console speed section on /fleet/metrics splits into pages and Changes tables.
  • Every s.jobs.Run carries a perf.Counter, so a job's S3 and box requests, including tenant-bucket listings (economics sizer, scan lister, store provisioner via objstore.NewAWSProvisionerWith), land on the job. The jobs table on Boxes and the dashboard shows them; the footer counts only what no page and no job made.
  • The CI walk holds warm views to a 150 ms median and cold views and the promote write to 500 ms; over records re-measured.

Reviews: Astra round 1 READY AFTER FIXES (five P2s, all fixed in 9b5d7d7e); a claim-authority census fixture follow-up (6f712a9a). Census census-ruling-console-budget-cold-warm (internal/objstore envelope) approved by Astra on #280 at 8e9238a5. Copy CPF-20..30 Luna-reviewed. Not released.

Commits 8
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity