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

Does webtorrent have any protection from greedy peers? #178

Closed
arestov opened this issue Nov 9, 2014 · 2 comments
Closed

Does webtorrent have any protection from greedy peers? #178

arestov opened this issue Nov 9, 2014 · 2 comments
Labels

Comments

@arestov
Copy link

@arestov arestov commented Nov 9, 2014

consumes 50% of poccessor in tasks manager (wich means 100% of one core)
and here is why
2014-11-09 11_46_56-developer tools - file____d___documents_seesu_index html

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Nov 10, 2014

_request is actually the function that requests pieces from other peers. So the issue is not greedy peers, but an inefficient loop somewhere in that code. The output from node-inspector doesn't make it immediately obvious to me which particular loop is the cause.

@feross feross added the question label Nov 29, 2014
@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Mar 12, 2015

Closing out old issues. Feel free to comment or open a new issue if this still affects you.

@feross feross closed this Mar 12, 2015
@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.