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

Need statistics on what content is being uploaded #920

Open
slothbag opened this issue Mar 12, 2015 · 5 comments
Open

Need statistics on what content is being uploaded #920

slothbag opened this issue Mar 12, 2015 · 5 comments
Labels
topic/bandwidth reduction Topic bandwidth reduction

Comments

@slothbag
Copy link

In order to make decisions about what content to share I need to know what is being uploaded the most. If one particular file is causing 99% of my bandwidth usage then I may want to stop hosting it as its consuming most of my bandwidth allowance.

In addition, some sort of bandwidth throttling is probably a good idea.

@jbenet
Copy link
Member

jbenet commented Mar 12, 2015

need to know what is being uploaded the most.

Good idea.

bandwidth throttling is probably a good idea.

Very much agreed. Planning to implement per-system and total bandwidth caps.
Adding them right now may add a whole bunch of unexpected problems, but perhaps we could start with bitswap, which (should be) the bulk of data and not degrade sys perf too much.

@slothbag
Copy link
Author

slothbag commented Oct 8, 2015

More on bandwidth usage.. I ran ipfs on my VPS and noticed my quote shot through the roof, I just did some tests running on Ubuntu Linux and ipfs at idle with no pinned content uses at least 10KB/sec both up and down, and frequently as much as 15KB/sec down.

So thats 25KB/sec usage.. thats quite high, if I had the ability to throttle I would reign that in to 10KB/sec max.

@jbenet
Copy link
Member

jbenet commented Oct 8, 2015

Indeed.

Also #1482

@lockedshadow
Copy link

I am not sure that it's related to this issue, but maybe also makes sense to store total value of traffic, transmitted through node for all its lifetime? For now, ipfs stats bw command shows data only about current session(?).
For example, some BitTorrent clients (such as Transmission and qBittorrent) store information about all traffic.

P.S. I apologise for my very bad english. Hope that you can understand it.

@RubenKelevra
Copy link
Contributor

I think a network-wide approach is better. If there's a way to inform other nodes to just switch their traffic, your node can still contain this content, without having to remove it.

ipfs/roadmap#80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/bandwidth reduction Topic bandwidth reduction
Projects
None yet
Development

No branches or pull requests

5 participants