Skip to content
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

share/eds: Store should cache EDSes on Put #2018

Closed
Tracked by #1099
Wondertan opened this issue Apr 4, 2023 · 1 comment
Closed
Tracked by #1099

share/eds: Store should cache EDSes on Put #2018

Wondertan opened this issue Apr 4, 2023 · 1 comment
Labels
area:shares Shares and samples

Comments

@Wondertan
Copy link
Member

One of the ideas to make it work is to create the custom dagstore Mount implementation that wraps FileMount. This Mount will also have a pointer to the serialized CAR. If the pointer is not nil, then dagstore will access the serialized CAR from memory. Otherwise, it will behave as usual FileMount. The serialized version of CAR can be retrieved via io.TeeWriter, while writing to the file on disk.

@distractedm1nd
Copy link
Collaborator

done by @walldiss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:shares Shares and samples
Projects
None yet
Development

No branches or pull requests

2 participants