filecoin-project / filecoin-chain-archiver

Filecoin snapshot / chain export software
Other
5 stars 3 forks source link

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

Open ognots opened 1 year ago

ognots commented 1 year ago

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 commented 1 year ago

Design 1: Lotus Lightweight Snapshot V2

ognots commented 1 year ago

the first prototype of this is working successfully in theory, in https://github.com/filecoin-project/filecoin-chain-archiver/pull/67 there are however a few relevant blockers: