-
Notifications
You must be signed in to change notification settings - Fork 17
feat: add cachet crates with multi-level caching abstractions #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
132 commits
Select commit
Hold shift + click to select a range
fd7e4ef
Initial commit
schgoo 6ca9232
clippy, fmt, tests, copyrights, readmes, etc.
schgoo 886d860
Merge with main
schgoo 80cb4c1
More compat with github version
schgoo 15d42ff
Merge with main
schgoo d0980a4
Use uniflight and anyspawn
schgoo dad0181
Streamline examples and benchmarks. Move stampede protection to builder.
schgoo cdc9700
Clippy fixes
schgoo 4fbc541
Box fallback get/insert/invalidate futures to put a ceiling on future…
schgoo 276ca12
Make all API methods fallible - return Result
schgoo b3b64c8
Test to track cache future sizes. Other formatting etc.
schgoo 5e2db24
Fix copyrights and licenses. Add allowed external types
schgoo 07affe8
Simplify telemetry tests. Remove otel_sdk dependency. Remove tokio fe…
schgoo 7dbe8ec
Fix benches
schgoo b650a7d
clippy
schgoo cacc05e
Improve test quality
schgoo 30deca4
Move to SystemTime instead of Instant
schgoo cb5ba04
Spelling. More test cleanup. Formatting. Clean up telemetry cfg state…
schgoo 45a9ca2
Spelling. More test cleanup. Formatting. More telemetry cleanup. Docu…
schgoo d680f31
Merge branch 'main' of https://github.com/microsoft/oxidizer into cache
schgoo e99ce18
Minor PR comment changes. Keep promotion policy enum transparent. Rep…
schgoo e344b9e
Fixing future sizes
schgoo 89ca1d3
Fixing future sizes
schgoo b1b7682
More cachelon/seatbelt common testing stuff to testing_aids. PR comme…
schgoo f0cff55
Update documentation
schgoo d02cd96
Clippy
schgoo 302d0cd
Resolve pr comments
schgoo a56dfab
Cargo.lock
schgoo 06cc200
Merge branch 'main' of https://github.com/microsoft/oxidizer into cache
schgoo 063eac0
Fix repository properties in cachelon crates
schgoo 278af2f
Add the other cachelon crates to workspace cargo.toml
schgoo fa6ea68
CI fixes
schgoo 96afaed
Merge with main
schgoo 51faf41
Merge with main
schgoo 1f2eeb6
Fix CI issues
schgoo 5e58a2b
Fix CI issues
schgoo a6df46d
Fix test issue
schgoo 2410288
Merge branch 'main' of https://github.com/microsoft/oxidizer into cache
schgoo 48ba041
Clippy
schgoo 4ad2bab
Merge with main
schgoo 1f240c6
Minor refactoring to clean up CacheTelemetry creation. Clippy
schgoo aefca58
Missing docs error
schgoo 83f7e77
Clippy
schgoo 3cf63de
Merge branch 'main' of https://github.com/microsoft/oxidizer into cache
schgoo 5e3ba7e
reset Cargo.lock to main
schgoo b9cddc2
Try to fix CI issue
schgoo 6979a01
Merge with main
schgoo bf0428c
Fix mistaken version change
schgoo 90338ce
More fixes
schgoo 6b902c1
More CI fixes
schgoo 4c5dec5
More test coverage
schgoo c504cec
Merge with main
schgoo bc04bde
Formatting
schgoo 304467b
Clippy
schgoo 3a5fcf0
Code coverage
schgoo e98c10c
Rename cachelon_* crates to cachet_*
schgoo 1627323
Code coverage for cachet refresh and cachet_tier error
schgoo 9a0dfa1
Formatting, sort, and doc2readme for cachet crates
schgoo f273126
Fix cachet metrics-only build
schgoo 3104600
Fix cachet metrics-only build
schgoo 9db9d55
Merge branch 'cache' of https://github.com/microsoft/oxidizer into cache
schgoo d6b6042
Use Clock instead of SystemTime::now in refresh logic
schgoo 44e8b79
Ignore miri failures for LogCapture
schgoo 1b4c6e4
More miri ignores
schgoo af0458a
Miri ignores from moka
schgoo 6a4f7ee
More moka miri ignores
schgoo f171beb
More moka miri ignores
schgoo 7a52055
Formatting
schgoo 05b9e69
More moka miri ignores
schgoo 816f31c
update readme
schgoo dcb067c
Fix mutants
schgoo eb8357b
Merge branch 'main' into cache
schgoo 3c74b73
PR comment fixes
schgoo f5d73ba
Add borrow semantics to Cache API
schgoo 9f43a26
Add custom hasher for in memory cache
schgoo 6c7d5a1
Merge branch 'cache' of https://github.com/microsoft/oxidizer into cache
schgoo 9af447c
Add TTL stamping on insert and public name() accessors
schgoo 76867d0
Rename S CacheTier generic to CT
schgoo c36f735
More S -> CT renames
schgoo 9006c59
Make dynamic cache default for multi-tier. Add cachet_memory benchmar…
schgoo 7536067
Remove impl block comments
schgoo fe24b4f
Doc improvements
schgoo af02bb0
Lots of documentation fixes
schgoo 9bb47ff
Add cachet_memory benchmarks (with gungraun, too)
schgoo 7cdc659
Fix dependencies to workspace = true
schgoo e928b0d
Small cargo.toml formatting fix
schgoo 19a1446
Undo testing_aids changes, will bring back in a separate PR
schgoo 4866179
Undo testing_aids changes, will push to future PR
schgoo f4399d7
CI fixes
schgoo 6909f81
Fix wrong comment
schgoo c6fbf58
Merge with main
schgoo 1b64355
Remove gungraun benchmarks (bincode is unmaintained)
schgoo cb61332
Reset all seatbelt crate changes to main
schgoo 46b5cb4
Fix background refresh panic bug
schgoo 02f3fa5
Fix broken doctests
schgoo 63c8364
Fix more doctests
schgoo a4a1ea2
Move LogCapture and MetricTester back to testing_aids, add telemetry …
schgoo 2f1dfb5
Formatting and test coverage. Use MockCache for cachet testing instea…
schgoo 8060491
Merge with main. Add more telemetry.
schgoo 83db1f1
Fix dynamic wrapping. InMemoryCache tests. Per-entry cache ttl.
schgoo 6cd5f48
CI changes
schgoo adeda19
Use DynamicCache::new instead of into_dynamic
schgoo 4fb6e4a
Documentation fixes
schgoo a988459
More doc fixes
schgoo c1444e5
Merge with main
schgoo 51fba46
test: add test for expire_after_update to catch mutant
schgoo f6d066a
Mutant testing fixes. Spelling.
schgoo 94dc009
Fix clippy expect
schgoo 32fff02
Fix broken cfg
schgoo 6528ee7
Clippy fixes
schgoo 63bbab6
Fix fallback.rs test references to DynamicCache
schgoo d008cc1
Clean up telemetry feature imports
schgoo b03c648
Add missing test semicolons
schgoo 31b6b0e
Remove unnecessary miri ignores
schgoo 8b87fd3
Clippy fixes
schgoo a6cda3d
Merge branch 'main' of https://github.com/microsoft/oxidizer into cache
schgoo 9e29939
More clippy
schgoo 176bb65
Add miri ignore for SystemTime::new
schgoo 3e9e162
Ignore miri for moka tests
schgoo ed3f8ea
no-run miri-noncompliant doctest
schgoo ce03e1a
PR comment fixes
schgoo 22b4fdb
Change insert back to pass key by value. Add documentation on TOCTOU …
schgoo 8d230df
Code coverage
schgoo 6dd967e
Remove emdashes
schgoo 28b047f
Rename some methods. Miri ignores in memory cache builder tests. Use …
schgoo 681532e
Fix broken docs and wrong hasher ref
schgoo 37bacd3
Minor doc fix
schgoo 6823653
Fix ohno error tests
schgoo b62d38e
Formatting, external type exposure, spelling
schgoo dc331b9
Sort cachet_memory Cargo.toml
schgoo 658863f
Rename fallback.rs example
schgoo 9f7c190
Merge branch 'main' into cache
schgoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.