r/programming • u/rafalsk • Jul 17 '22
Create decentralized applications with JavaScript, HTML and CSS
https://gridnet.org/wpp/index.php/2022/07/12/create-ui-dapps-right-now-developer-guide/
122
Upvotes
r/programming • u/rafalsk • Jul 17 '22
5
u/Annh1234 Jul 17 '22
Let me explain:
If you don't want your data "controlled" by any one company, upload your site to some CDN with other CDN companies as backups, and eventually falling back to your server/laptop/pc.
That way, you pay for the bandwidth used, your data is in N+1 places (thousand of servers), uptime is 99.9999% pretty much (one CDN goes down, another can take over, and they tend to use different backbones for the internet), and you can be sure your site won't go down because some kids' mom got mad and unplugged his basement PC.
------------------
Also, even if your data is copied to say 100% of the devices online, so it's hosting is 100% decentralized, the way you get this data is via your local ISP, which is controlled by your local government, and can be monitored controlled as they see fit.
Example: download some torrent movies, and you get letters from your ISP about doing illegal stuff.
In other words, you have no way to access this decentralized data without a centralized method.
------------------
If you REALLY want serverless, decentralized data storage, then play around with storing it in the network cables. Not really scalable, every tech provider will hate you/try to scrape you off the net, but that's the only way to "hide stuff" online and make sure only your software can access that data.