Skip to content

feat(performance): Advanced Cache Optimization — AdvancedCacheManager v1.9.0 (Issue #229) - #4617

Merged
makr-code merged 3 commits into
developfrom
copilot/advanced-cache-optimization
Apr 13, 2026
Merged

makr-code merged 3 commits into
developfrom
copilot/advanced-cache-optimization

Conversation

Copilot AI commented Apr 13, 2026 •

Copy link
Copy Markdown
Contributor

Delivers the AdvancedCacheManager for the performance module (v1.9.0, Issue #229): multi-partition cache with Bloom filter pre-screening, adaptive eviction policies (LRU/LIRS/ARC/TwoQ), transparent value compression (LZ4/Snappy/Zstd), and a cache-oblivious scan helper.

Changes

Bug Fix

  • include/performance/advanced_cache_manager.h — Added missing #include <memory> required by std::unique_ptr<PartitionState>; without it the header fails to compile in isolation

Build / CI

  • cmake/CMakeLists.txt — Registered test_advanced_cache_manager as a CTest executable target (20 tests in tests/test_advanced_cache_manager.cpp were orphaned from CI)

Documentation

Linked Issues

Closes #229

Type of Change

  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Refactoring (non-breaking)
  • Documentation
  • Breaking change (requires MAJOR version bump — see VERSIONING.md)
  • Security fix
  • Other:

Breaking Change Checklist

  • MAJOR version bump planned in VERSION and CMakeLists.txt
  • Migration guide added in docs/migration/
  • Announcement prepared for GitHub Discussions (≥ 2 weeks before release)
  • CHANGELOG ### Removed / ### Changed section updated

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • Benchmarks run (if performance-sensitive change)

20 focused tests covering: construction, get/put/evict/contains per partition, LRU eviction under capacity pressure, Bloom filter fast-miss path, per-partition hit/miss statistics, reset_stats, flush_partition/flush_all, cache_oblivious_scan, and concurrent put/get thread safety.

📚 Research & Knowledge (wenn applicable)

  • Diese PR basiert auf wissenschaftlichen Paper(s) oder Best Practices?
    • Falls JA: Research-Dateien in /docs/research/ angelegt?
    • Falls JA: Im Modul-README unter "Wissenschaftliche Grundlagen" verlinkt?
    • Falls JA: In /docs/research/implementation_influence/ eingetragen?

Relevante Quellen:

  • Paper:
  • Best Practice:
  • Architecture Decision:

Checklist

  • Code follows project style guidelines (clang-format / clang-tidy)
  • Self-review completed
  • Documentation updated (if needed)
  • CHANGELOG.md updated under [Unreleased]
  • No new warnings introduced
  • Security-sensitive paths reviewed by security maintainer (if applicable)

Copilot AI linked an issue Apr 13, 2026 that may be closed by this pull request
8 tasks
…#229 as done

- Add #include <memory> to advanced_cache_manager.h (missing include for std::unique_ptr)
- Register test_advanced_cache_manager CTest target in cmake/CMakeLists.txt
- Mark Advanced Cache Optimization as completed in src/performance/ROADMAP.md
- Add implementation notes to src/performance/FUTURE_ENHANCEMENTS.md
- Mark entry 229 as done in src/ROADMAP.md

Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/9b815e55-0ca5-4538-80d1-bbfd7bed185d

Co-authored-by: makr-code <[email protected]>
Copilot AI changed the title [WIP] Deliver advanced cache optimization for performance feat(performance): Advanced Cache Optimization — AdvancedCacheManager v1.9.0 (Issue #229) Apr 13, 2026
Copilot AI requested a review from makr-code April 13, 2026 11:26
@makr-code
makr-code marked this pull request as ready for review April 13, 2026 11:28
@makr-code
makr-code merged commit 2271add into develop Apr 13, 2026
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Advanced Cache Optimization

2 participants