Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to make downloading start faster as the demo do? #1385
Comments
This comment has been minimized.
This comment has been minimized.
|
Hey @hz0324, Are you using your own tracker such as bittorrent-tracker hosted internally or are you relying on the default trackers for peer discovery? If you are using the default trackers, they are hosted in Australia (tracker.fastcast.nz), the Netherlands (tracker.openwebtorrent.com) and the United States (tracker.btorrent.xyz) so it's likely this would slow down peer discovery depending on your latency to each tracker, adding your own internal tracker could speed up peer discovery. How are you seeding the torrent, are you using instances of instant.io open in a browser, a node applications using Hopefully we can help you with this, |
This comment has been minimized.
This comment has been minimized.
|
Thank you very much for the reply. We just follow the DOC and leave everything as default when using Web Torrent in our project. I just re-read the doc and finally have idea of what the options mean. So I guess using the default tracker maybe the problem. I am gonna try to set up a special tracker server and see how it goes. We seed files in two ways: BTW, Thank you very much. |
This comment has been minimized.
This comment has been minimized.
|
@hz0324 It's no problem. To pass through a custom tracker when adding a torrent, you would pass through the options object With Instant.io, to add your new tracker to all added torrents you need to modify the global
Because of this, you can call Hope this helps! |
This comment has been minimized.
This comment has been minimized.
|
@SilentBot1 I am still confused about hashid and magnetURI. Right now, we are using hashid to pass torrent info, because it looks sleek and advanced. But you never mentioned it when talking about webseed. Dose it mean hashid is not supported in webseed? BTW, Sorry to bother you again, I can not find clear introduction |
This comment has been minimized.
This comment has been minimized.
Just using the infoHash of a torrent is supported, but you must add the webseed programmatically and you must first connect to a peer and download the torrents metadata using
For the
It's no issue, happy to try and help you with the issues you're facing. All the best. |
This comment has been minimized.
This comment has been minimized.
|
@SilentBot1 Thank you very much. I have tried to set up our own tracker server according to this project bittorrent-tracker. Although we can make server running and show the stats when visiting Then I read this post (#1087) and realize WebSeed maybe the solution we are looking for. So I have wrote this question : #1388 Anyway, I hope I can make it work. This project is awesome, its doc just not as awesome as the core. Thank you very much. |
This comment has been minimized.
This comment has been minimized.
|
I'm closing this issue since there's no bug to fix here, but feel free to continue discussion! |
We have build a P2P share networking inside our campus based on Web Torrent.
But we found the download starts very slow. The downloader usually has to wait for 1 min.
However, If we try to download the file in the doc (https://webtorrent.io/docs), it usually starts to download at less than 10 seconds.
Please help, is there anything we can do to shorten the waiting time?
Will more seeders in different networks be helpful?
Thanks.
FYI,
1.We have set up 5 computers in different buildings around the campus, seeding the same file.
2.We have set up the rtcConfig in Twillo.
3.Our location is in Beijing, China.