perf: integrate validated SQL selection and batched API cards #8

Merged
Wuast94 merged 8 commits from perf/validated-client-read-path into main 2026-10-20 00:13:29 +02:00
Owner

Home and search repeatedly evaluated catalog ownership/ranking and acquired per-card SQL facts. This change selects native candidates with shared set joins, groups NextUp versions once, and renders physical, named and composition cards through the same batch/singleton projection.

Canonical name keys use the existing Rust clean_tag function and transactional writers/startup repair. New append-only migrations 45/46 add the trigram-backed key and generated episode positions. Existing ACLs, ordering, paging, actual source evidence and filesystem freshness remain authoritative; nested compositions retain the complete authorized fallback.

Validation: RUSTFIN_TEST_COMPILER_CACHE=off just gate passed locally on macOS, including the full workspace suite, 145 API tests, 90 Store tests, native media/realtime/shutdown integration, schema comparison, uroman reproducibility, Clippy, advisories/bans and unused-dependency checks. Both commit hooks also passed. No production data or deployments changed.

Rollout: stop old writers before starting this schema generation (Rustfin-only Recreate). Linux amd64 image/CI validation and complete HTTP latency on the actual cluster dataset remain outstanding; isolated SQL measurements are not claimed as whole-page latency. The broader read-projection proposal and DB-owned subtitles are not included.

Implementation, evidence and limits: docs/performance/implementation.md and docs/performance/README.md.

Home and search repeatedly evaluated catalog ownership/ranking and acquired per-card SQL facts. This change selects native candidates with shared set joins, groups NextUp versions once, and renders physical, named and composition cards through the same batch/singleton projection. Canonical name keys use the existing Rust clean_tag function and transactional writers/startup repair. New append-only migrations 45/46 add the trigram-backed key and generated episode positions. Existing ACLs, ordering, paging, actual source evidence and filesystem freshness remain authoritative; nested compositions retain the complete authorized fallback. Validation: RUSTFIN_TEST_COMPILER_CACHE=off just gate passed locally on macOS, including the full workspace suite, 145 API tests, 90 Store tests, native media/realtime/shutdown integration, schema comparison, uroman reproducibility, Clippy, advisories/bans and unused-dependency checks. Both commit hooks also passed. No production data or deployments changed. Rollout: stop old writers before starting this schema generation (Rustfin-only Recreate). Linux amd64 image/CI validation and complete HTTP latency on the actual cluster dataset remain outstanding; isolated SQL measurements are not claimed as whole-page latency. The broader read-projection proposal and DB-owned subtitles are not included. Implementation, evidence and limits: docs/performance/implementation.md and docs/performance/README.md.
Wuast94 deleted branch perf/validated-client-read-path 2026-10-20 00:13:34 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Wuast94/rustfin!8
No description provided.