filecoin-project / filecoin-project/lassie

Pass block limits through to link budgets

Open
#175 0 comments 0 reactions 1 assignee Assigned to @rvagg View on GitHub
Dominant language
Go
Stars
118
Forks
23
PR merge metrics
No merged PRs in 30d

Description

# What

Since deploying parallel bitswap, we're seeing a huge spike in size of requested content from upstream providers.

I think this is cause Block Limits are really functioning the way we expect them to with preloading. Currently, we handle block limits directly in the HTTP handler / CAR streaming layer with the LimitStore. This worked when link loading matched 1:1 with sending blocks over the wire. But with the preloader, we can now load potentially infinite numbers of links ahead of time without affecting the blocks on the wire. We should pass the block limit into the link budgets used in Bitswap somehow (or maybe put the limit store on top of the preload store as well?).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.