perf: batch catalog queries and decouple runtime workers #3
Loading…
Reference in a new issue
No description provided.
Delete branch "perf/runtime-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Catalog requests repeatedly loaded whole graphs and hydrated each result separately; shared runtime work also delayed unrelated HTTP processing. This batches native/scalar selection and complete final-page acquisition, preserves the existing DTO/ACL/source validators, and separates ordered webhook delivery from internal events.
The package also improves scanner/metadata/intro work, retains stream descriptor ownership, caches validated image/subtitle/segment work, and includes the prepared deterministic uroman build fix. API and runtime contracts stay intact.
Validation:
just gate: 721 Rust tests passed, none failed or ignored; schema, Clippy, advisories and dependency checks passed.Remaining measured limits are explicit: Views ~1.4s, Search ~1.2s, broad-history NextUp ~1.6s and variable Suggestions ~1–2s remain database-bound. Startup still performs all 10,635 native capability processes. These are follow-up design decisions, not claimed solved by release compilation.
Only index migration 42 is added. Retain a verified pre-upgrade backup: the old image does not recognize that migration, so rollback requires its supported database restore path. PR production-image acceptance must pass before merge; cluster deployment and native Intel/API acceptance follow the release. No UI or screenshots.
Compact evidence and source boundaries: docs/performance-audit.md.