Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Outgoing bandwidth allocation in bitswap #11

Open
kbala444 opened this issue Aug 12, 2015 · 2 comments
Open

Outgoing bandwidth allocation in bitswap #11

kbala444 opened this issue Aug 12, 2015 · 2 comments

Comments

@kbala444
Copy link
Contributor

Bitswap needs some way of allocating outgoing bandwidth between peers if something like propshare will be implemented. How would we implement something like that?

@whyrusleeping
Copy link

we're probably going to need to rearchitect bitswap a little bit to use a single stream per peer. This stream can then be rate limited using a normal approach (token bucket)

@whyrusleeping
Copy link

The hard part will be determining how much outgoing bandwidth we have available. and distinguishing between different connections, we can push gigabit to someone on our LAN, but only broadband speeds to someone over the open web.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants