Live data from Hacker News

Serverless Sync in Web Apps Using Bit Torrent

paul.kinlan.me

1–10 of 57 posts

Re: Serverless Sync in Web Apps Using Bit Torrent

#5
post #4

This sounds really cool, but it also sounds like a really easy way for malware (delivered, say, in a drive-by malicious ad) to exfiltrate data from a browser.

In this case, the content is only stored local to the domain - sure someone could put the data that is some sort of Malware as the file that is synced, but they could also HTTP request it too...

The theory at least is that the sandbox of the browser will stop it from getting out from there and keep the user safe.

Re: Serverless Sync in Web Apps Using Bit Torrent

#6
post #5
post #4

This sounds really cool, but it also sounds like a really easy way for malware (delivered, say, in a drive-by malicious ad) to exfiltrate data from a browser.

In this case, the content is only stored local to the domain - sure someone could put the data that is some sort of Malware as the file that is synced, but they could also HTTP request it too... The theory at least is that the sandbox of the browser will stop it from getting out from there and keep the user safe.

Worth thinking about more though!

Re: Serverless Sync in Web Apps Using Bit Torrent

#8
Very cool. I imagine when bittorrent first starting how cool this would be to do if we had something like webtorrent

Two problems:

1) WebTorrent isn't very persistent. It requires people keep the tab open and I don't think the current WebTorrent to existing torrent clients federation really solves anything interesting. Unless you've got high volumes of traffic it doesn't help much.

2) Bandwidth and storage got so cheap. S3 et al is really pricey but you can get insane deals on colo and bare mental boxes these days. Ok, you're not going to get s3 ease of use and reliability, but webtorrent is going to be way worse on both those points.

Re: Serverless Sync in Web Apps Using Bit Torrent

#10

Very cool. I imagine when bittorrent first starting how cool this would be to do if we had something like webtorrent Two problems: 1) WebTorrent isn't very persistent. It requires people keep the tab open and I don't think the current WebTorrent to existing torrent clients federation really solves anything interesting. Unless you've got high volumes of traffic it doesn't help much. 2) Bandwidth and storage got so che…

S3 can serve over the Bittorrent protocol though.

In fact, there are several viable configurations to bridge between WebTorrent, Bittorrent, and S3. For example, you can have S3 directly serve over Bittorrent and use Amazon as a tracker; or you can have the HTTP URL to S3 serve as a BEP19 webseed, which is now supported in recent WebTorrent.

Post reply on HN