Re:Building a BitTorrent client from the ground up in Go
by dastx on Sunday January 05, 2020 @09:45AM
(#21961425)
It's not that they aren't good enough. It uses both TCP and UDP (and μTP if enabled). Perfectly fine for it's use case. I guess my thinking is more along the lines of, if everyone is using WebRTC (yes you're right, WebRTC not WebSockets, my mistake), there is no need to use and maintain multiple channels. If WebRTC works well enough, over time, once everyone is able to use WebRTC, you can trim a lot of the TCP code and thus keep maintenance overheads much lower. Especially when more peers can be included in your pool.
This would obviously require majority of the torrent clients to implement WebTorrents as otherwise it wouldn't make sense and you'd exclude more than you would include. If I'm not mistaken, libtorrent is used among many of the open source torrent clients, and so I think merging this code would suddenly give WebTorrent users an enormous amount of peers once they all upgrade. For client implementations upgrading is probably requires next to no code changes.
Re:Building a BitTorrent client from the ground up in Go
by noisem4ker on Sunday January 05, 2020 @08:55AM
(#21961243)
WebRTC works in browsers. This alone is enough to trump every other consideration these days.
[0] What are those? Plain Old TCP Sockets?
[1] You mean, WebRTC, right?