-
Notifications
You must be signed in to change notification settings - Fork 121
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
Implement Hardlink Feature for Cache Optimization and Data Deduplication #1953
Comments
ChengyuZhu6
added a commit
to ChengyuZhu6/stargz-snapshotter
that referenced
this issue
Jan 24, 2025
- Adds the EnableHardlink configuration option - Adds the HardlinkCapability interface - Updates the directoryCache struct to support hardlinks - Adds logging for hardlink configuration - Updates the layer package to pass through hardlink configuration - Concurrent access testing Fixes: containerd#1953 Signed-off-by: ChengyuZhu6 <hudson@cyzhu.com>
ChengyuZhu6
added a commit
to ChengyuZhu6/stargz-snapshotter
that referenced
this issue
Feb 5, 2025
- Adds the EnableHardlink configuration option - Adds the HardlinkCapability interface - Updates the directoryCache struct to support hardlinks - Adds logging for hardlink configuration - Updates the layer package to pass through hardlink configuration - Concurrent access testing Fixes: containerd#1953 Signed-off-by: ChengyuZhu6 <hudson@cyzhu.com>
ChengyuZhu6
added a commit
to ChengyuZhu6/stargz-snapshotter
that referenced
this issue
Feb 13, 2025
- Adds the EnableHardlink configuration option - Adds the HardlinkCapability interface - Updates the directoryCache struct to support hardlinks - Adds logging for hardlink configuration - Updates the layer package to pass through hardlink configuration - Concurrent access testing Fixes: containerd#1953 Signed-off-by: ChengyuZhu6 <hudson@cyzhu.com>
ChengyuZhu6
added a commit
to ChengyuZhu6/stargz-snapshotter
that referenced
this issue
Mar 26, 2025
- Adds the EnableHardlink configuration option - Adds the HardlinkCapability interface - Updates the directoryCache struct to support hardlinks - Adds logging for hardlink configuration - Updates the layer package to pass through hardlink configuration - Concurrent access testing Fixes: containerd#1953 Signed-off-by: ChengyuZhu6 <hudson@cyzhu.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I would like to propose the implementation of a hardlink feature in the caching mechanism to optimize memory usage, improve performance and save disk space.
Background
The current caching system stores files in memory, which can lead to high memory usage, especially when dealing with large datasets. By utilizing hardlinks, we can reduce memory consumption and storage redundancy by allowing multiple references to the same file on disk without duplicating the file content.
Design
Key Components
Work Flow
Persistence:
Benefits
The text was updated successfully, but these errors were encountered: