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

Read first and last index first #23

Open
vasco-santos opened this issue Feb 20, 2023 · 0 comments
Open

Read first and last index first #23

vasco-santos opened this issue Feb 20, 2023 · 0 comments

Comments

@vasco-santos
Copy link
Contributor

Freeway returns 200 and starts to stream once it finds the root block. Depending on tooling that generates the CAR file, the root block can be in the first or last CAR file:

  • client w3s/nft writes root CID in the last CAR
  • DAG Export in first block root CID

An optimisation to improve TTFB would be to read first and last CARs first.

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