Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesWebtorrent (nodejs) begin seed too slow #1146
Comments
This comment has been minimized.
This comment has been minimized.
|
Could you please use the issue template or provide details? What is your OS? Node.js version? File size? |
This comment has been minimized.
This comment has been minimized.
|
Sorry Webtorrent: 0.98.18 |
This comment has been minimized.
This comment has been minimized.
|
When you do it in the browser, which browser are you using? Have you tried other node versions? 6? How big is the file? |
This comment has been minimized.
This comment has been minimized.
|
Google Chrome. For same file in Browser or Nodejs... nodejs is slow. No i don't test it with node 6. Whatever if is a picture of 35 kb or a video of 35Mb Thank you |
This comment has been minimized.
This comment has been minimized.
|
In Google Chrome I have the infohash immediatly... but in nodejs... 4-5 seconds. I will test now with nodejs 6 |
This comment has been minimized.
This comment has been minimized.
|
No, it's same with nodejs 6.11
|
This comment has been minimized.
This comment has been minimized.
|
Could you enable debugging and show me the logs? Info on how to: https://github.com/webtorrent/webtorrent#enable-debug-logs |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
|
It seems the difference is coming from DHT (as it's enabled in Node.js, whereas in the browser there isn't DHT) You could disable DHT (Distributed Hash Table, decentralized & distributed peer discovery) if you want to. That should speed things up. I hope this solves your issue, if you need any help don't hesitate replying to this issue even though I'm closing it now. |
This comment has been minimized.
This comment has been minimized.
|
Thank you very much. That is! |
Hi,
I have webtorrent in nodejs... and when I want to begin to seed one file, it take a lot of times before it give me infohash (4-5 seconds).
I don't have this problem when I do that in browser. Only in nodejs. (for same file).
Thank you