2 ms·
Is there a performant way to serve a website leveraging P2P?
Is there a performant way to host a p2p website such that when there are no other users available, the site remains available because it's also participating in serving itself?
In this case, "performant" means an experience that isn't that much worse than visiting a website directly. Pages should generally load in less than 5 seconds.
The DHT Torrent algorithm is too slow to meet this SLA.
- wmf 4y agoBasically no. WebRTC setup time will kill you and it's probably more expensive than just serving the page. The only place I'd use P2P is for video or other large data.
- solardev 4y agoOnly if it's very popular on the dark net. Otherwise you can just cache it on a normal CDN for free or cheap. Not much point in going p2p