3 ms·
It's great to share data, however, how can a torrent solution support services like web API?
by chj 10y ago
It's great to share data, however, how can a torrent solution support services like web API?
- rictic 10y ago(This is a good question, but as asked it's so broad that it's akin to asking "What kinds of things does P2P work for?" and we're still discovering more answers to it every year.)
- bbcbasic 10y agoI think these services would compliment a torrent solution, e.g. in a video hosting site web-api gives you the metadata (and perhaps the first 5 buffered seconds of the video), and torrent gives you the video.
- geocar 10y agoWell, one way I did it was by creating fake torrents with an unlikely info_hash (if you see the all-0xaa's hash on bittorrent crashing your client a few weeks ago, that's me). In this way, I can get use public WebTorrent signalling servers to establish the WebRTC connections between my (non-bittorrent) clients. You can distinguish between clients and servers (if you don't want a P2P model) by having clients claim to need this unlikely info_hash, and servers seed it. In this way, WebTorrent's websockets server won't link clients to other clients.