-
Notifications
You must be signed in to change notification settings - Fork 5
Closed as not planned
Labels
verawoodReleased in VerawoodReleased in Verawood
Description
Description
For the MVP, cache management should remain minimal. The focus is ensuring correctness and predictable behavior of authorization checks, not performance optimization. The solution may even be to disable caching altogether, as long as the system remains reliable.
Problem
- Stale data: Any cache introduces a risk of serving outdated policy data if not refreshed correctly.
- Complexity: A full-featured caching strategy would increase implementation and operational complexity, which is not in scope for the MVP.
- Lifecycle dependency: Cache behavior must stay aligned with the enforcer’s load/clear lifecycle to avoid inconsistencies.
Requirements
- Define a clear stance for cache management in the MVP:
- Minimal or disabled caching is acceptable.
- Any cache usage must not compromise correctness.
- Ensure that cache handling does not interfere with the policy lifecycle management.
- Document the chosen approach and make sure it can evolve in later iterations.
Acceptance Criteria
- The MVP includes a defined approach for cache management, even if the approach is simply “no cache.”
- The system continues to provide correct enforcement results under the chosen approach.
- Tests confirm that the cache (if present) does not cause stale or inconsistent reads.
Notes
- This issue is connected to Policy Lifecycle Load and Clear Management since cache handling directly impacts freshness guarantees.
- Performance optimizations can be explored in future iterations once lifecycle correctness is fully established.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
verawoodReleased in VerawoodReleased in Verawood
Type
Projects
Status
Done