Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork98
Experimental in-memory files cache with eviction policy support#328
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
semanticdiff-combot commentedMar 7, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Review changes withSemanticDiff. Analyzed 13 of 20 files. Overall, the semantic diff is10% smaller than the GitHub diff.
|
cd1cc6e
to61daaac
Compare635316b
to5b224db
Compare69668a6
to936b224
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Minimum Supported Rust Version (a.k.a. MSRV)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
8a2f55e
tofc4fe29
Compare5bdfcd4
intomasterUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Description
This PR adds support for in-memory cache functionality on-read to SWS via an advanced configuration entry.
The feature also supports expiration policies such asTime To Live (TTL) andTime To Idle (TTI).
Admission to a cache is controlled by theLeast Frequently Used (LFU) policy and the eviction from a cache is controlled by theLeast Recently Used (LRU) policy.
For details about the options supported, seethe cache library docs.
Configuration example:
Note that this feature requires Rust1.76.0 or newer.
Also, point out thatthis experimental feature could be subject to change in future releases.
Library usage
This work was added as part of the Cargo
experimental
feature. See#482.Related Issue
Motivation and Context
Resolves#242
How Has This Been Tested?
Screenshots (if appropriate):