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

Forest CAR roadmap #3222

Closed
9 of 11 tasks
aatifsyed opened this issue Jul 18, 2023 · 1 comment
Closed
9 of 11 tasks

Forest CAR roadmap #3222

aatifsyed opened this issue Jul 18, 2023 · 1 comment

Comments

@aatifsyed
Copy link
Contributor

aatifsyed commented Jul 18, 2023

  • Uncompressed CARs can be used as a blockstore. feat: CAR-backed Blockstore #3085
    Forest scans a CAR file, building an index. It then scrolls to file offsets to read IPLD data.
  • Manyframe compressed CARs can be used as a blockstore. feat: use zstd compressed cars as blockstores #3149
    Forest can produce manyframe-compressed CAR files with forest snapshot compress. They are backwards compatible with lotus.
    Forest scans manyframe-compressed CAR files, building an index. It scrolls to file offsets to read compressed zstd frames. It scrolls to offsets in zstd frames to read IPLD data.
  • Custom car format with pre-indexing and compression. feat: read and write support for forest.car.zst files #3213
    Forest can produce .forest-car.car files with forest snapshot compress. They are backwards compatible with lotus.
    Forest loads an index from .forest.car files. It scrolls to fille offsets to read compressed zstd frames. It scrolls to offsets in zstd frames to read IPLD data.
  • Remove manyframe compressed CAR support (superseded by forest-car.car format)
  • All applicable cli frontends (can) use custom car format
  • All applicable cli frontends (can) export custom car format
  • Multiple CARs can be used as a blockstore
  • CAR backed blockstores are multithreaded
    Blockstore::new(||File::open("<name>.forest-car.car"))
  • CAR backed blockstores have intelligent inter-thread zstd frame caching.
    Might not even need this
  • CARv2 support
  • zstd_seekable support unlocks CARv2-compatible compression support
@aatifsyed aatifsyed changed the title Forest CAR roadmap/handover Forest CAR roadmap Jul 19, 2023
@lemmih
Copy link
Contributor

lemmih commented Aug 9, 2023

Closed as complete. CARv2 support and zstd_seekable support may be opened as separate issues later on.

@lemmih lemmih closed this as completed Aug 9, 2023
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

2 participants