3 ms·
It depends on how much of it you want to recreate. Like, do you want to create the servers, or are you happy letting a CDN do the heavy lifting? If it's the lat
by amingilani 7y ago
It depends on how much of it you want to recreate. Like, do you want to create the servers, or are you happy letting a CDN do the heavy lifting? If it's the latter, you can deploy to GitHub pages, and then use CloudFlare's CDN. I don't think I need to post it here since it's HN, but I documented this technique in a comprehensive article once[0].
On the other end, though, you can buy small storage units and put Raspberry Pi 4s all around the world, and to mimic the CDN-ness of it. You'd need a central build server, which doesn't matter where it physically is, but it'd push JAM builds to your CDN network, and then a DNS server that routes requests to the right CDN node depending on the Geolookup of the IP address.
[0]: https://www.toptal.com/github/unlimited-scale-web-hosting-github-pages-cloudflare#contract-just-respected-software-architects https://www.toptal.com/github/unlimited-scale-web-hosting-gi...