-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce small object disk cache (#658)
* stash, todo: rebase me * fix: fix sodc checksum and test Signed-off-by: MrCroxx <mrcroxx@outlook.com> * feat: make store builder support mixed disk cache engine Signed-off-by: MrCroxx <mrcroxx@outlook.com> * feat: impl the new builder, update bench and examples Signed-off-by: MrCroxx <mrcroxx@outlook.com> * fix: make clippy happy Signed-off-by: MrCroxx <mrcroxx@outlook.com> * fix: fix engine clap Signed-off-by: MrCroxx <mrcroxx@outlook.com> * refactor: update eviction picker API Signed-off-by: MrCroxx <mrcroxx@outlook.com> * fix: fix small batch copy Signed-off-by: MrCroxx <mrcroxx@outlook.com> * fix: upgrade deps Signed-off-by: MrCroxx <mrcroxx@outlook.com> * fix: fix set panic on invalid len Signed-off-by: MrCroxx <mrcroxx@outlook.com> * feat: impl better bloom filter Signed-off-by: MrCroxx <mrcroxx@outlook.com> * feat: add options for foyer-bench to control small engine Signed-off-by: MrCroxx <mrcroxx@outlook.com> * refactor: rename a const Signed-off-by: MrCroxx <mrcroxx@outlook.com> * test: try add test for small batch Signed-off-by: MrCroxx <mrcroxx@outlook.com> * chore: make ffmt happy Signed-off-by: MrCroxx <mrcroxx@outlook.com> * refactor: refine the small engine to fit the new design Signed-off-by: MrCroxx <mrcroxx@outlook.com> * chore: make ffmt happy Signed-off-by: MrCroxx <mrcroxx@outlook.com> * refactor: use 12B entry header for small entry Signed-off-by: MrCroxx <mrcroxx@outlook.com> * fix: fix stats for small object disk cache Signed-off-by: MrCroxx <mrcroxx@outlook.com> * test: add ci for mixed engine Signed-off-by: MrCroxx <mrcroxx@outlook.com> * chore: fix ci Signed-off-by: MrCroxx <mrcroxx@outlook.com> --------- Signed-off-by: MrCroxx <mrcroxx@outlook.com>
- Loading branch information
Showing
32 changed files
with
2,544 additions
and
557 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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.