-
Notifications
You must be signed in to change notification settings - Fork 923
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
feat(share/store): store eds in memory for index builder #2409
feat(share/store): store eds in memory for index builder #2409
Conversation
Codecov Report
@@ Coverage Diff @@
## storage_performance_improvements #2409 +/- ##
====================================================================
- Coverage 53.28% 52.84% -0.44%
====================================================================
Files 156 156
Lines 9915 9995 +80
====================================================================
- Hits 5283 5282 -1
- Misses 4179 4248 +69
- Partials 453 465 +12
|
# Conflicts: # share/eds/store_test.go
3e4d133
to
886ccfa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mount type must be registered on registry inside edsstore constructor
# Conflicts: # share/eds/store_test.go
6cf5a10
to
f784a9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, fixes an old #2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to merge this one as it's not breaking, yet very valuable
…#2409) ## Overview Previously generated eds was first store to disk and then was read again while building car index for dagstore. This PR contains 2 changes: - writes eds into buffer to write it as 1 chunk instead of many small writes to disk to reduce disk i/o pressure. - introduces in-memory cache that will be used to read eds for building car index. Combined changes brings 3x performance improvement for eds.Put operation
…#2409) ## Overview Previously generated eds was first store to disk and then was read again while building car index for dagstore. This PR contains 2 changes: - writes eds into buffer to write it as 1 chunk instead of many small writes to disk to reduce disk i/o pressure. - introduces in-memory cache that will be used to read eds for building car index. Combined changes brings 3x performance improvement for eds.Put operation
…#2409) ## Overview Previously generated eds was first store to disk and then was read again while building car index for dagstore. This PR contains 2 changes: - writes eds into buffer to write it as 1 chunk instead of many small writes to disk to reduce disk i/o pressure. - introduces in-memory cache that will be used to read eds for building car index. Combined changes brings 3x performance improvement for eds.Put operation
Overview
Previously generated eds was first store to disk and then was read again while building car index for dagstore.
This PR contains 2 changes:
Combined changes brings 3x performance improvement for eds.Put operation