mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-04 20:02:26 +00:00
Lazy-load recommendation indexes
This commit is contained in:
1 parent
fe976b3ab7
commit
5f439d6863
5 files changed
+104
-20
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user