Lazy-load recommendation indexes

This commit is contained in:
thePR0M3TH3AN committed 2026-07-26 17:59:45 -04:00
1 parent fe976b3ab7
commit 5f439d6863
5 files changed
+104 -20

No files matched your search

+9 -1
View File
@@ -1,6 +1,6 @@
# BitVid Performance & Efficiency Plan
Status: **Stage 0 in progress — local-only measurement harness added; no runtime optimization changes implemented**
Status: **Stage 2 in progress — startup hardening validated locally; recommendation indexes now activate on demand**
## Goal
@@ -173,6 +173,14 @@ old diagnostic behavior.
## Stage 2 — Lazy recommendation indexes
Implemented first slice: `ExploreDataService` is no longer created during
ordinary bootstrap. Home/Profile sessions therefore create no recommendation
worker or recommendation intervals. Opening For You or Explore creates and
activates the service; events received while inactive mark it dirty and are
included in the activation refresh. Focused lifecycle, feed-coordinator, and
build checks pass; browser validation of both recommendation views remains the
next gate before further Stage 2 coalescing work.
### Change
Do not initialize `ExploreDataService` globally in application bootstrap.