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

Redesign Proposal: write snapshots to disk and implement sidecar design #66

Open
ognots opened this issue Mar 20, 2023 · 2 comments
Open

Comments

@ognots
Copy link
Collaborator

ognots commented Mar 20, 2023

Problem Statement:
Using the Lotus API, snapshot production is slow due to the constraints of Lotus's API. The average snapshot job takes 4h on average, post FVM upgrade.

Possible Solution:
Reports from other operators shows snapshot production being exponentially faster writing snapshots directly to disk. Many report <1h snapshot production.
Draft a design doc and prototype of a "sidecar" design, where filecoin-chain-archiver runs in a process with read-only access to a volume where Lotus can write snapshots directly to.

@ognots
Copy link
Collaborator Author

ognots commented Mar 22, 2023

Design 1:
Lotus Lightweight Snapshot V2

@ognots
Copy link
Collaborator Author

ognots commented Apr 17, 2023

the first prototype of this is working successfully in theory, in #67
there are however a few relevant blockers:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant