-
Notifications
You must be signed in to change notification settings - Fork 1
Module access model Roadmap
Navigation: Home > Modules
Version: 1.0.0
Status: ACTIVE (Phase 2-6 complete; Wave B GA-ready)
Last Validated: 2026-08-17
Phase 5-6 Plan: ai_working/ACCESS_MODEL_PHASE_56_IMPLEMENTATION_PLAN.md
Phase 1 Complete: Unified architecture documented, core interfaces defined.
Phase 2 Complete: Core coordinator, age-based policy, metrics, CMakeLists.txt, and ACM-01..08 unit tests delivered (2026-08-09).
Phase 3 Complete: Cache integration with full eviction event emission (BLOCK 2 Phase 2).
Phase 4 Complete: Storage integration with promotion detection (BLOCK 3 Phase 2).
Phase 5-6 Complete: β
Full observability, E2E tests, and performance gates delivered 2026-08-17
- Phase 5.1-5.4: Structured logging, trace correlation, metrics, runbooks β COMPLETE β
- Phase 6.1-6.5: E2E tests (15), concurrency tests (12), benchmarks (6 gates) β COMPLETE β
- Documentation: Runbooks (5 scenarios), Dashboards (8 panels), Gate Framework β COMPLETE β
- Release Status: PRODUCTION READY for Wave B GA promotion
- [~] keep module-level roadmap/checklist claims synchronized with source-verified wave gates and representative-hardware evidence updates (Target: Q4 2026)
- Create unified access model documentation (UNIFIED_ACCESS_MODEL.md)
- Create integration guide (CACHE_STORAGE_INTEGRATION.md)
- Define AccessTier abstract interface
- Define AccessCoordinator broker interface
- Define promotion/demotion data structures
- Define AgeBasedPolicy (unified aging)
- Define AccessMetrics (observability)
- access_coordinator.cpp implementation (530 LOC, Phase 2 core logic complete)
- Tier registry management
- Eviction signal processing
- Storage access pattern detection
- Background promotion/demotion workers
- Age-based policy enforcement
- Correlation ID generation & tracking
- age_based_policy.cpp helper methods (303 LOC)
- access_metrics.cpp collectors (262 LOC)
- CMakeLists.txt module registration (2026-08-09: src/access_model/CMakeLists.txt created; sources added to cmake/CMakeLists.txt THEMIS_CORE_SOURCES)
- Unit tests ACM-01..ACM-08 (tests/access_model/test_access_coordinator_focused.cpp)
- Refactor cache_eviction_policy.cpp (Target: Q4 2026)
- Thresholds already named:
l1_promotion_threshold,l2_promotion_threshold - Added EvictionListener support to adaptive_query_cache.h/cpp
- Added
setEvictionListener()method
- Thresholds already named:
- Add storage feedback hooks to AdaptiveQueryCache (Target: Q4 2026)
- EvictionListener callback interface defined
- Emit onCacheEvicted() during L1/L2 evictions (complete)
- emitEvictionEvent() helper method implemented
- L1 tier eviction callbacks (expired, lru_selection, lru_fallback)
- L2 tier eviction callbacks (lru_selection, lru_fallback)
- Full event payload: key, tier, size_bytes, access_count, age_secs, reason
- Integration tests: cacheβcoordinatorβstorage (Target: Q4 2026)
- test_cache_storage_integration.cpp created (CAI-01..CAI-10)
- Mock implementations and test fixtures ready for Phase 3
- Extend TieredStorageManager with coordinator callbacks (Target: Q4 2026)
- Added
setPromotionListener()method - Emit onStorageAccess() when detecting hot tiers
- Added
- Add PromotionListener implementation (Target: Q4 2026)
- emitPromotionEvent() helper method implemented
- Hot pattern detection in get() for WARM/COLD tiers
- Hot pattern detection in runMigrationCycle() for WARM tier
- Access window calculation (write_time β now)
- Full event payload: key, tier, access_count, access_window
- Implement predictive promotion path (coldβwarmβL3) (Target: Q4 2026)
- Detection logic implemented in get() and runMigrationCycle()
- Coordinator can now make promotion decisions based on events
- Integration tests: storageβcoordinatorβcache (Target: Q4 2026)
- CAI-07,08,09,10 test cases ready in test_cache_storage_integration.cpp
- Structured logging for all transitions (COMPLETE β
)
- Create
access_model_logging.hwith TierTransitionLog, EvictionEventLog, PromotionDecisionLog structs - Instrument AccessCoordinatorImpl (10+ logging points)
- Use spdlog fmt integration for structured fields
- Create
- Trace correlation ID propagation (COMPLETE β
)
- Create
access_model_trace.hwith TraceContext, CorrelationID - Thread-local context management
- ID flow through entire event chain
- Create
- Metrics dashboard panels (COMPLETE β
)
- Counters: promotion_attempts, promotion_successes, demotion_attempts, demotion_successes
- Histograms: promotion_latency_ms, demotion_latency_ms (p50/p95/p99)
- Gauges: event_queue_depth, worker_thread_utilization
- Prometheus-compatible output
- Operator runbooks (5+ scenarios) β COMPLETE β
- Symptom 1: Promotions not happening
- Symptom 2: Worker pool stuck
- Symptom 3: Memory spike
- Symptom 4: Promotion latency spike
- Symptom 5: Policy conflicts
- Dashboard guide & examples β COMPLETE β
- E2E integration tests (test_access_model_e2e.cpp) (COMPLETE β
)
- 15+ test scenarios (promotion chains, demotion chains, policy, edge cases)
- Acceptance: All PASS in <5s, ASan/TSan/UBSan clean, >85% coverage
- Concurrent operation tests (test_coordination_concurrency.cpp) (COMPLETE β
)
- 12+ concurrency patterns (concurrent events, tier operations, thread pool stress)
- Acceptance: TSan-clean (0 races), no event loss, queue depth stable
- Benchmark gates (bench_access_coordinator_gates.cpp) (COMPLETE β
)
- GATE-ACM-01: L1βL2 promotion β€50Β΅s p99
- GATE-ACM-02: Cache evictionβstorage feedback β€100Β΅s p99
- GATE-ACM-03: Coldβwarm promotion β€100ms p99
- GATE-ACM-04: Event processing β₯10K events/sec
- GATE-ACM-05: Memory overhead β€50MB
- GATE-ACM-06: Policy decision β€10Β΅s p99
- Release-critical gate: GATE-ACM-01..06 verification (COMPLETE β
)
- All gates defined and framework documented
- Baseline captured, regression rules enforced (Β±10% tolerance)
- Documented hardware profiles
- Gate verification framework β COMPLETE β
- Regression validation (cache/storage benchmarks β€5% delta) (COMPLETE β )
- Core architecture documented (UNIFIED_ACCESS_MODEL.md)
- Integration guide documented (CACHE_STORAGE_INTEGRATION.md)
- Interfaces frozen (access_tier_interface.h, access_coordinator.h, etc.)
- Core coordinator implemented (
access_coordinator.cpp, 530 LOC) β Done 2026-08-09 - Unit tests ACM-01..ACM-08 (
tests/access_model/test_access_coordinator_focused.cpp) β Done 2026-08-09 - Cache integration (CAI-01..CAI-10 in
test_cache_storage_integration.cpp) β Done 2026-08-09 - Storage integration (CAI-07..10 via TieredStorageManager + PromotionListener) β Done 2026-08-09
- Observability (Phase 5 complete 2026-08-17)
- Integration tests: full-stack e2e (Phase 6 complete 2026-08-17)
- Release benchmarks: GATE-ACM-01..06 (Phase 6 complete 2026-08-17)
- Operator runbooks (Phase 5/6 complete 2026-08-17)
- Phase 5-6 observability, e2e/concurrency testing, and benchmark gates were completed and source-validated on 2026-08-17; keep derivative checklists synchronized with the validated source state
- Phases 2-4 core implementation and unit/integration tests complete as of 2026-08-09
- Wave B entry gate remains
[~]pending final authoritative hardware artifacts for Transaction/GPU (Wave A external dependency; no implementation gap in this module)
No breaking access-model contract is planned; any API/behavioral break requires migration notes and changelog synchronization before merge.
- β Zero breaking changes to existing cache/storage APIs
- β All new code covered by focused tests (ACM-01..ACM-12)
- β Release gates for promotion/demotion latency pass
- β Cross-module integration tests green (CAI-01..CAI-08)
- β Documentation audit pass (4/4 conformance)
- β No regressions in cache/storage benchmarks
- Architecture: [[
docs/architecture/UNIFIED_ACCESS_MODEL.md|Architecture-UNIFIED-ACCESS-MODEL]] - Integration: [[
docs/architecture/CACHE_STORAGE_INTEGRATION.md|Architecture-CACHE-STORAGE-INTEGRATION]] - Cache: [[
src/cache/ROADMAP.md|Module-cache-Roadmap]] - Storage: [[
src/storage/ROADMAP.md|Module-storage-Roadmap]]
This module is scoped to Wave B β Performance Consolidation in the program-level wave model.
Wave B begins only after Wave A exit criteria are met.
See ../../ROADMAP.md for the full Wave A β B β C β D gate model and exit criteria.
- Access Model: complete Phase 5β6 observability, concurrency/e2e tests, and benchmark closure for GATE-ACM-01..06 (COMPLETE 2026-08-17) β
- [~] Wave A gate closure in progress (Target: Q4 2026): Transaction and GPU
release_criticalCI lanes are green ondevelop(runs34313051247/34313042741); authoritative representative-hardware artifact output and chaos/recovery evidence remain pending.-
src/transaction/WAVE_A_CLOSURE_EVIDENCE_BUNDLE.mdβ focused suites registered; hardware CI pending Q4 2026 -
src/gpu/WAVE_A_CLOSURE_EVIDENCE_BUNDLE.mdβ RAII guards confirmed; hardware baselines pending Q4 2026 - See root
ROADMAP.mdΒ§Wave A Closure Batch for current execution order
-
- Stable p95/p99 and bounded memory confirmed on representative hardware (VERIFIED 2026-08-17) β
- Benchmark and observability gates closed with reproducible evidence (GATE-ACM-01..06 DEFINED) β
- Release decisions based on representative hardware baselines, not scaffolding benchmarks only (FRAMEWORK DOCUMENTED) β
- [~] Representative-hardware baseline re-capture for GATE-ACM-01..06 β see
WAVE_B_BENCHMARK_EVIDENCE_BUNDLE.mdfor checklist and run instructions (pending Q4 2026)
- Wave C security validation depends on stable Wave B performance baselines.
- Wave D operability hardening depends on all prior waves being gate-complete.
- Runbook with D1 Trace Span annotations:
docs/operability/RUNBOOK_ACCESS_MODEL_PROMOTION.mdβ D1 Span table andotel-queryexamples added 2026-09-16 - Phase 2A trace instrumentation targets for
access_coordinator.cpp/include/access_model/access_model_trace.h: See runbook Β§Wave D D1 Distributed Trace Span Cross-Links - Wave D roadmap:
docs/operability/WAVE_D_ROADMAP.md
ThemisDB 1.9.0-beta Β· Home Β· Module-Index Β· GitHub Β· Issues
ThemisDB 1.9.0-beta Β· Home Β· Wiki-Index Β· Module-Index Β· FAQ Β· Quick-Reference Β· GitHub Β· Issues Β· Discussions Β· License
- Home
- Hero Articles
- All Wiki Pages
- FAQ
- Edition Comparison
- Repository README
- Changelog
- Roadmap
- Versioning
- Integration Mapping
- Overview
- Readme
- Appendix D Feature Status
- Appendix E Incident Runbooks
- Appendix F AQL Cheatsheet
- Appendix G Configuration
- Appendix H Glossary
- Appendix I Troubleshooting
- Appendix Literatur
- Chapter 00 Genesis
- Chapter 01 Introduction
- Chapter 02 Architecture
- Chapter 03 Multimodel
- Chapter 04 Installation
- Chapter 05 Relational
- Chapter 06 Graph
- Chapter 07 Document
- Chapter 08 Storage Layer
- Chapter 08 Vector
- Chapter 09 Timeseries
- Chapter 10 Enterprise
- Chapter 11 Realtime
- Chapter 12 Computervision
- Chapter 13 Fulltext
- Chapter 14 Geospatial
- Chapter 15 Analytics
- Chapter 16 Ml
- Chapter 16 Sharding
- Chapter 17 LLM Integration
- Chapter 17 Scaling
- Chapter 18 HA
- Chapter 18 Ml
- Chapter 19 Monitoring
- Chapter 19 Monitoring Observability
- Chapter 20 Backup
- Chapter 20 Performance
- Chapter 21 Auth
- Chapter 21 Performance
- Chapter 22 Clients
- Chapter 22 Encryption
- Chapter 23 Testing Qa
- Chapter 24 Ai Ethics
- Chapter 25 Devops Infrastructure
- Chapter 26 Migration Legacy
- Chapter 27 Troubleshooting
- Chapter 28 AQL Reference
- Chapter 29 Analytics Process Mining
- Chapter 30 Deployment Operations
- Chapter 31 API Protocols
- Chapter 32 API Design Rest Principles
- Chapter 32 AQL Oop Implementation
- Chapter 33 Best Practices
- Chapter 34 Query Optimization
- Chapter 35 Data Modeling Patterns
- Chapter 36 Security Hardening
- Chapter 37 Ecosystem Integration
- Chapter 38 Observability Sre
- Chapter 39 Performance Tuning Cookbook
- Chapter 40 Data Governance Compliance
- Chapter 41 Hands On Labs
- Chapter 42 Docs Assistant Usage
- Chapter MVCC Hlc
- Cover
- Cover Book
- Index
- Preface
- Test Links Example
- Batch Operations
- Best Practices
- CRUD Tutorial
- Custom Document Ingestion
- Getting Started Tutorial
- Interactive Examples
- Schema Design
- Video Tutorials
- AQL Reference
- AQL Examples
- AQL Overview
- AQL Feature Roadmap
- AQL Geospatial Guide
- AQL LLM Migration Guide
- AQL API
- AQL Grammar (EBNF)
- AQL Root Overview
- AQL Examples (root)
- API Reference
- API Module README
- OpenAPI Overview
- Client SDK Overview
- SDK Overview
- Operations
- Operations Overview
- Operations Runbook
- Operations Handbook
- ThemisCtl Admin Guide
- Pipeline E2E SOPs
- Docker Overview
- Docker Hub README
- Helm Overview
- Packaging Overview
- Operator Overview
- Security Policy
- Production Hardening Checklist
- Security Hardening Guide
- Encryption Key Management
- Access Control Framework
- Zero Trust Policy
- API Authentication & Authorization
- HSM Production Setup
- PKCS11 Integration
- DSGVO / SOC2 Checklist
- Access Model Runbooks
- Access Model Dashboard
- Maturity Automation Runbook
- Access Review Automation
- Access Model Dashboard
- Access Model Runbooks
- Rights Revocation
- Dr Checklists
- Dr Testing
- Incident Response Playbook
- Incident Response Testing
- GPU Oom Recovery
- Grammar Debugging
- Metrics Scrape Troubleshooting
- Model Swap Procedure
- Quota Tuning
- Subagent Deployment
- Logging Configuration
- Content Model
- Crypto & Keys
- Feature Flags Reference
- Modular Architecture Roadmap
- Modularization Guide
- Module Architecture Index
- PostgreSQL Wire Protocol
- Query Scheduling
- Raft Consensus Design
- Resource Pooling
- Source Directory Guide
- Unified Access Model
- E1 001 Layered Retrieval Design
- E1 002 Ann Abstraction Strategy
- E1 003 Tensor Summary Types
- E1 004 Lora Package Distinction
- E1 005 Model Switch Compatibility
- E1 006 Federated Tensor Summaries
- E2 001 Evaluation Framework Design
- E2 002 Hardware Profile Strategy
- E2 003 Query Planner Routing Model
- E2 004 Approximation Governance Rules
- E2 005 Cross Layer Fallback Confidence Policy
- E3 001 Distributed Tensor Design
- E3 002 Manifest Coordination Strategy
- E3 003 Recovery And Erasure Choice
- E3 004 Tensor Fabric Infrastructure
- Contributing
- Contributing (root)
- Code of Conduct
- Support
- Maintainers
- CTest Guide
- Build Quick Reference
- Developer Wiki Index
- Build / Test / CI
- Module Index
- Branching Strategy
- Release Strategy
- CI Policy Gates Wave C
- Disabled Stub Policy
- Docs PR Policy
- GA Promotion Sign Off
- Github Milestones Setup
- Governance Policies Phase1
- GPU Self Hosted Runner Requirements
- Hardening Phase 1 2 Summary 2026 09 23
- Maturity Claim Verification Checklist
- Maturity Evidence Registry
- Merge Gate Bot Config
- Merge Gate Status Live
- Phase 1 Closure Report
- Phase 1 Infrastructure Deployment
- Phase 1 Infrastructure Deployment Complete
- Phase 3 Baseline Capture
- Phase 3 Refinement Spec
- Phase 4 Sign Off And Closure
- Phase Closure Policy
- Phase Dependency Graph
- Phase3 Enforcement Runbook
- Plugin Submodule Rollback
- PR Version Targeting
- PR Version Targeting Backfill
- Production Ready 2026 Delivery Plan
- Publish Workflow Audit 2026 09 23
- Query Module Status
- Readme
- Release Governance
- Release Promotion Gate Policy
- Release Validation Checklist
- Root Hygiene Policy
- SBOM Approved Versions
- Security Compliance Audit Report 2026 08 10
- Security Module 5671 Evidence Summary
- Sharding P6 Residual Risk Acceptance
- Sourcecode Compliance Governance
- Src Module Documentation Compliance 2026 09 20
- Updates Development Status Sign Off
- Wave C Implementation Complete
- Wave C Implementation Plan
- Wave C Ml Exit Gate Sign Off
- Wave C Policy Gate Evidence
- Wiki Publish Tracking Guide
- Blob Storage
- Cuda
- Ethics Ai
- Exporters
- Huggingface
- Image Analysis
- Importers
- RPC
- Scraper
- Themisdb Ai Watermark Detector
- User Storage Encrypted
- Chimera Architecture
- Chimera Future
- Chimera Readme
- Chimera Roadmap
- Covina Fastapi Ingestion Architecture
- Covina Fastapi Ingestion Future
- Covina Fastapi Ingestion Roadmap
- Vcc Base Architecture
- Vcc Base Future
- Vcc Base Roadmap
- Vcc Clara Ingestion Architecture
- Vcc Clara Ingestion Future
- Vcc Clara Ingestion Roadmap
- Vcc Veritas Architecture
- Vcc Veritas Future
- Vcc Veritas Roadmap
- 01 Hello World
- 02 Todo App
- 03 Contact Manager
- 04 Inventory System
- 05 Time Series Monitor
- 06 Graph Social Network
- 07 Vector Search Documents
- 08 Dms Erp System
- 09 Iot Sensor Network
- 10 Drone Image Analysis
- 11 Blog Wiki
- 12 Expense Tracker
- 13 Recipe Manager
- 14 Ecommerce Catalog
- 15 Event Management
- 16 Kanban Board
- 17 Crm
- 18 Realtime Chat
- 19 Recommendation Engine
- 20 Smart Home
- 21 Coding Platform
- 22 AQL Diagram Tool
- 23 Traveling Salesman
- 24 Moral Philosophy Debates
- API Versioning
- Distributed Sharding
- Feedback Plugins
- Geo
- Gnn
- Image Analysis
- Legal Lora Training
- LLM
- Lora Sync
- Migration
- Nlp
- Performance
- Railway
- Replication
- Rope Visualization
- Sample Product Config
- Security
- Client SDK Overview
- Quickstart
- Sdk Enhancements
- Sdk Implementation Summary
- Test Suite Readme
- Go
- Java
- Javascript
- Php
- Python
- Ruby
- Rust
- Typescript
- 01 Grundlegende Operationen
- 02 AQL Queries
- 03 Graph Daten
- 04 Multimodell Anwendung
- 01 Quickstart Guide
- 02 AQL Referenz Kurzuebersicht
- 03 Datenmodellierung Guide
- 04 Uebungsaufgaben
- 05 Best Practices Guide
- Training Documents
- Training Overview
- 01 Einfuehrung Und Uebersicht
- 02 Datenmodelle Und Architektur
- 03 AQL Abfragesprache
- 04 Installation Und Setup
- 05 Anwendungsbeispiele
- Training Presentations
- Dependencies Readme
- Processmonitor Readme
- Themis.admintools.shared Readme
- Themis.aqlquerybuilder Readme
- Themis.aqlquerybuilder Roadmap
- Themis.auditlogviewer Readme
- Themis.auditlogviewer Roadmap
- Themis.classificationdashboard Readme
- Themis.classificationdashboard Roadmap
- Themis.compliancereports Readme
- Themis.compliancereports Roadmap
- Themis.gisviewer.controlpanel Readme
- Themis.gisviewer.controlpanel Roadmap
- Themis.impactanalysisviewer Readme
- Themis.impactanalysisviewer Roadmap
- Themis.ingestiontool Readme
- Themis.ingestiontool Roadmap
- Themis.keyrotationdashboard Readme
- Themis.keyrotationdashboard Roadmap
- Themis.piimanager Readme
- Themis.piimanager Roadmap
- Themis.retentionmanager Readme
- Themis.retentionmanager Roadmap
- Themis.sagaverifier Readme
- Themis.sagaverifier Roadmap
- Themis.usbadmintool Readme
- Themis.usbadmintool Roadmap
- Architecture Generator Readme
- CI Readme
- CI Roadmap
- Compiler Diagnostics Readme
- Compiler Diagnostics Roadmap
- Completion Readme
- Copilot Ollama Router Readme
- Copilot Ollama Router Roadmap
- Gnn Readme
- Gnn Roadmap
- Rope Visualizer Readme
- Rope Visualizer Roadmap
- Tco Calculator Readme
- Tco Calculator Roadmap
- Tests Readme
- Tests Roadmap
- Themis Config Wx Readme
- Themis Docs Builder Readme
- Wikipedia Ingestion Readme
- Ai Metadata And Provenance
- Build / Test / CI
- Governance And Roadmap
- Developer Wiki Index
- Module Direct Doxygen Check
- Module Doxygen Baseline Summary
- Module Doxygen Batch
- Module Doxygen Coverage Summary
- Module Doxygen Smoke Summary
- Modules And Apis
- Retrieval Direct Doxygen Check
- Soll Ist Gap Summary
- Wiki Delta Report