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

feat: fetch only the root block #48

Merged
merged 2 commits into from
Dec 13, 2023
Merged

feat: fetch only the root block #48

merged 2 commits into from
Dec 13, 2023

Commits on Dec 12, 2023

  1. feat: fetch only the root block

    SPARK is about retrieval testing not load testing.
    
    Currently, more than 90% of retrievals fail on timeout or server errors.
    There is little value in checking whether we can download the entire
    CAR file, it's more important to know whether SPs are advertising FIL+
    deals to IPNI and accept HTTP-based retrieval requests.
    
    SPARK is also not able to fetch and verify CAR files larger than 200MB,
    which further reduced the value of fetching full CAR files.
    
    Let's fetch the root block for the time being.
    - This should significantly reduce the load on "good" SPs.
    - It provides enough data allowing "bad" SPs to fix their setup.
    
    Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
    bajtos committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    0f6ae7b View commit details
    Browse the repository at this point in the history
  2. fixup! standard --fix

    Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
    bajtos committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    630bc16 View commit details
    Browse the repository at this point in the history