Skip to content

Docs/update#135

Merged
TKorr merged 3 commits into
mainfrom
docs/update
May 19, 2026
Merged

Docs/update#135
TKorr merged 3 commits into
mainfrom
docs/update

Conversation

@TKorr
Copy link
Copy Markdown
Contributor

@TKorr TKorr commented May 14, 2026

Description

Related Issue

Fixes #

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📝 Documentation update
  • 🔧 Refactoring (no functional changes)
  • ⚡ Performance improvement
  • 🧪 Test addition or modification

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Manual testing

Test environment:

  • OS:
  • Rust version:

Checklist

  • My code follows the project's coding standards
  • I have run cargo fmt and cargo clippy
  • I have added tests for my changes
  • All new and existing tests pass (cargo test)
  • I have updated the documentation as needed
  • I have added an entry to CHANGELOG.md (if applicable)

Screenshots (if applicable)

Additional Notes

TKorr added 3 commits May 13, 2026 21:22
…etrics, error model, and weighted eviction

- Added detailed documentation on concurrency strategies, outlining the design rationale for concurrent cache types and their usage.
- Introduced a metrics section to explain the metrics infrastructure, including recording, snapshotting, and exporting metrics for observability.
- Documented the error model, clarifying the panic vs. `Result` discipline and the handling of different error types.
- Included a comprehensive overview of weighted eviction strategies, detailing the implementation of `WeightStore` and `ConcurrentWeightStore`.

These additions enhance the overall documentation, providing clearer guidance on design principles and usage patterns for developers.
…hashing, sharding, serialization, and non-goals

- Added a comprehensive section on benchmarking design, detailing the benchmark layers, goals, and artifact schema to enhance performance evaluation.
- Introduced documentation on hashing and key identity, explaining hasher choices, key interning, and shard routing strategies.
- Documented sharding design, outlining current sharded primitives, routing requirements, and capacity semantics for improved concurrency.
- Included a section on serialization, clarifying the current serialization surface and future considerations for cache-state persistence.
- Added a non-goals document to define explicit boundaries for cachekit's design, ensuring clarity on what the library does not aim to achieve.

These additions significantly enhance the documentation, providing clearer guidance on design principles and usage patterns for developers.
…cy and clarify policy counts

- Updated the builder and dynamic dispatch documentation to indicate that cachekit now ships 18 implemented eviction policies, with CAR being a concrete policy not yet exposed through `CachePolicy` / `DynCache`.
- Clarified the distinction between implemented policies and runtime-dispatch variants, ensuring accurate representation of the current state of the library.
- Revised concurrency and trait hierarchy documentation to reflect the updated policy count, enhancing clarity for users regarding available features and capabilities.

These changes improve the accuracy and comprehensiveness of the design documentation, aiding developers in understanding the current state of cachekit's policy implementations.
@TKorr TKorr merged commit beddbfa into main May 19, 2026
29 of 31 checks passed
@TKorr TKorr deleted the docs/update branch May 19, 2026 19:46
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.

1 participant