4 ms·
Not that I'm not always eager to see something get rewritten in Rust, but I'm curious whether web browsers have advanced to the point where a bittorrent client
by kibwen 9y ago
Not that I'm not always eager to see something get rewritten in Rust, but I'm curious whether web browsers have advanced to the point where a bittorrent client could exist as a webapp rather than requiring native installation. Could the bittorrent protocol operate over WebRTC?
- ronsor 9y agohttp://webtorrent.io http://webtorrent.io
- rapfaria 9y agoDoes it seriously download a 129MB file just by opening the page?
- CyberDildonics 9y agoHa yeah. Everyone pointed that out the first time this came up and I guess he ignored the feedback.
- QasimK 9y agoI actually find it seriously impressive. It demonstrates it works for you right now, and it works seamlessly!
- yjftsjthsd-h 9y agoIt is impressive, and in a sense it's a very... effective... demo. The problem is that not all of us are in a position to spend that much bandwidth by accident.
- mook 9y agoIt's impressive, but it doesn't necessarily actually download the file from webtorrent peers. It will happily do HTTP streaming, instead. It works fine for me even though my browser is configured to block third party traffic by default.
- QasimK 9y agoAh, it's a bit misleading then
- agumonkey 9y agochunk by chunk, and it's kinda the purpose, maybe they should have a "ready ? go" button ..
- ddevault 9y agoSynapse is not designed for people who want this use-case. It's primarily designed for seedbox users who want a daemon to control remotely. It's also designed to efficiently work at scale, and takes advantage of native features like mmap to download quickly. Also, it wasn't rewritten in Rust from some other language, it was written in Rust in the first place.
- kibwen 9y agoIs a seedbox basically a torrent-focused media server? Probably worth submitting a PR to note this focus in the readme. And yes, I'm joking about the rewritten-in-Rust part. :)
- ddevault 9y ago>Is a seedbox basically a torrent-focused media server? No, it's just a box dedicated to "seeding", a server whose purpose is bittorrent.
- Cyph0n 9y agoTo clarify further, a seedbox is a server used to continually "seed" (or share) any content downloaded to it. Seedboxes are mostly used on private torrent trackers, simply because the majority require users to maintain a high seed/leech ratio. In other words, users need to upload more than they download.
- matheusmoreira 9y agoHow does mmap improve download speed?
- atomashpolskiy 9y agoNot the author, but I think that the point is to make disk I/O async with respect to requesting and receiving blocks. I.e. request for the next block does not wait for the write of the previous block to complete.
- psadauskas 9y agoThe Opera web browser had a torrent client built-in for a long time. https://en.wikipedia.org/wiki/History_of_the_Opera_web_browser#Version_9 https://en.wikipedia.org/wiki/History_of_the_Opera_web_brows... Looks like since version 9, released in 2006.
- sametmax 9y agoHonestly it should be standard in all browsers.
- drdaeman 9y agoWhat if I'd argue otherwise - that download managers (including plain HTTP(S) downloads) shouldn't be a part of browser, but a separate pieces of software? I suspect that in modern "we don't download anything, we watch/read/run this on the web" times in-browser downloading is bound to be second-class citizen that vendors would not pay any significant attention to beyond the simplest scenarios. Basically, the torrent support will be barely functional, just like the current HTTP downloads are. If they're split in a separate program (buzzword: microservice) they still have a chance, though.
- rhizome 9y agoWhat if I'd argue otherwise - that download managers (including plain HTTP(S) downloads) shouldn't be a part of browser, but a separate pieces of software? Well, they used to be, but now they aren't anymore, so you'll probably want to start somewhere around there. In the early days of resumable HTTP downloads and simpler browsers, there were lots of download managers. https://www.internetdownloadmanager.com/support/using_idm/using_idm.html https://www.internetdownloadmanager.com/support/using_idm/us...
- VeejayRampay 9y agoThat's pretty much WebTorrent, isn't it?