Closed
Bug 2006751
Opened 8 months ago
Closed 8 months ago
Add telemetry and evaluate ledger sizing for AI Window Security Layer
Categories
(Core :: Machine Learning: General, task)
Core
Machine Learning: General
Tracking
()
RESOLVED
DUPLICATE
of bug 2005420
People
(Reporter: rconcepcion, Unassigned)
References
Details
(Whiteboard: [genai])
Current implementation uses fixed limits:
- MAX_URLS_PER_TAB = 1000 (increased from 500 based on feedback)
- DEFAULT_TTL_MS = 30 minutes
Reviewer noted potential quadratic situation: 1000 tabs × 1000 URLs = 1M normalized URLs.
Note: MAX_URLS_PER_TAB is URLs per individual tab (links on a page), not total tabs.
Scope
- Add telemetry to track real-world ledger sizes
- Evaluate if 1000 is the right limit based on data
- Consider per-tab MRU/LFU eviction instead of hard cap
- Adjust limits based on usage data
Reference
- D274523 reviewer feedback
- Related: Bug 2005415 (scheduled vs lazy cleanup)
Acceptance Criteria
- Telemetry added to track ledger sizes in real usage
- Sizing strategy documented based on data
- Eviction strategy reviewed and optimized if needed
Updated•8 months ago
|
| Reporter | ||
Updated•8 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•