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 upWhat sort of congestion control is in use? #142
Comments
This comment has been minimized.
This comment has been minimized.
|
In node, WebTorrent uses tcp sockets for peer connections, though as I understand it, uTP would offer better performance while making WebTorrent a better network citizen (by backing off to TCP traffic). There's an open issue to implement uTP: #68 Note, the cardinal rule of open source applies here: "If you see a job that needs doing, it's your job. In the browser, WebTorrent uses webrtc data channels in reliable mode (ordered, guaranteed delivery) which emulates the semantics of tcp sockets, for parity with the node implementation. I'm open to investigating alternatives, and willing to accept modifications that improve perf. |
This comment has been minimized.
This comment has been minimized.
|
Closing this issue since an issue is already open for uTP support (#68). But you can feel free to continue discussing. |
Torrent normally uses a modified reno algorithm with reduced slow start and a delay based approach to backing off (ledbat). From what I read here, webtorrent is currently using straight TCP to do it's work, no modifications, and doesn't include a uTP implementation?