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

snapshot: pub access to snapshot file + object repo #1709

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

kim
Copy link
Contributor

@kim kim commented Sep 16, 2024

In order to serve a snapshot over the network, memory and CPU (validation) requirements for the server should be minimized.

Expose methods to allow implementing different strategies than materializing an entire ReconstructedSnapshot.

Expected complexity level and risk

0

@kim kim requested a review from gefjon September 16, 2024 07:04
Copy link
Contributor

@gefjon gefjon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested some docs.

crates/snapshot/src/lib.rs Show resolved Hide resolved
crates/snapshot/src/lib.rs Show resolved Hide resolved
crates/snapshot/src/lib.rs Show resolved Hide resolved
@kim kim enabled auto-merge September 16, 2024 17:11
@kim
Copy link
Contributor Author

kim commented Sep 16, 2024

Thanks. I did not pay much attention to API, I may do so once I get to the receiving end (which will have to do the validation work).

@bfops bfops added the release-any To be landed in any release window label Sep 16, 2024
kim and others added 2 commits September 16, 2024 21:20
In order to serve a snapshot over the network, memory and CPU
(validation) requirements for the server should be minimized.

Expose methods to allow implementing different strategies than
materializing an entire `ReconstructedSnapshot`.
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
Signed-off-by: Kim Altintop <kim@eagain.io>
@kim kim force-pushed the kim/snapshot/pub-file-and-object-repo branch from 38cfbcd to 9752fab Compare September 16, 2024 19:20
@kim kim added this pull request to the merge queue Sep 16, 2024
Merged via the queue into master with commit 35de1ef Sep 16, 2024
8 checks passed
@kim kim deleted the kim/snapshot/pub-file-and-object-repo branch September 17, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants