Planktos enables websites to serve their static content peer-to-peer by having active users serve assets to other users. This allows website owners to significantly reduce hosting costs for static content, scale in real-time without provisioning more web servers, and prevent user impact during an outage.
1. Planktos bundles your website's static files into a torrent
2. HTTP requests are intercepted by the Planktos service worker
3. Requested files are downloaded from other online users via BitTorrent
Static Websites (aka The Blog Use Case): Small websites with only static files can use Planktos to stay up if their web servers go down, auto-scale in response to increased traffic, and reduce bandwidth costs. Since these websites have all of their files served by Planktos, return users can load the website even if it's web servers are unreachable!
Video Streaming Websites: Large websites with a lot of static video content can use Planktos to reduce the bandwidth to their servers and CDN. Instead of using a lot of server capacity, these websites can utilize their users to serve their video content to other users.
Disclaimer: Planktos is still in alpha, so production use is not recommended yet.
Planktos is open source and free to use. Stop by the GitHub page if you want to hack on Planktos, report a bug, or submit a feature request.
A special thanks to Feross and other contributors of WebTorrent, which this project makes extensive use of.