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
0
u/rafalsk Jul 17 '22
Thank you so much for your comment.
I have put lots of effort to understand what you were getting at, to no avail for the most of it, let us go through every point that you've mentioned, together, shall we?
"Your 100% wrong."
I am sorry to be hearing that let us hope that we arrive at a common viewpoint through a constructive conversation, I can promise you my patience.
"The reality is that your replacing servers with "nodes" which are servers you basically have no control on."
The world around is is beautiful, I believe. Within of your brain there are billions of neurons firing each and every minute. Sometimes, when you connect many elements, the end result just might surpass your expectations.
The beauty of decentralization relies on the fact that you do not need control over particular nodes. Kindly read up on how Bitcoin manages to introduce a probabilistic work-around for the Byzantine Dilemma.
"You can put as many copies you want on those servers, you have no guarantee that you won't lose your data"
You never have a guarantee. You have no guarantee that Earth wouldn't be consumed by a block-hole an hour from now.
It all boils down to incentives. In GRIDNET OS, data storage is incentivized. The more you pay for storage the more likely you are not to loose your data, in case of private data. OR, in terms of public data - the better the content, the more people willing to download it, the more people paying for having parts of the files delivers, the more peers willing to host these files. It is called an open economy.
"So your redundancy on "free stuff" means nothing."
Could you please rephrase?
"And at the end of the day it's basically the same as torrents, "
it is not. We have crypto-incentivized storage and crypto-incentivized data exchange.
"Plus you still have the DNS service, ARP/IP service and so on which is 100% centralized, and sometime has to pay for."
You would be glad to know that we implement a system-intrinsic DNS service. What is more had you visited our main-website you would have discovered that nodes are accessible solely by IP addresses one may discover through a static Magnet URL. Now that eliminated the need for DNS entirely, as for getting in touch with nodes maintaining the network.
Our system intrinsic Web-browser UI dApp takes use of the in-house decentralized DNS service.
"Also, since you only serve HTML/CSS/JS you can put your stuff on some CDN"
JavaScript wraps the underlying decentralization aspects and makes all of the APIS easily accessible. It gives you access to the decentralized state-machine. Not to a centralized CDN or server. So you've missed the point.
"These days, you can pay for stuff like CloudFlare"
CloudFlare is a centralized company.
"And for your solution to work, everyone participating needs to dish out way way more money than they would need of they rent a server somewhere."
Kindly define everyone? You pay for full redundancy storage according to open market price conditions. Same for incentivized crypto-storage. You pay for what you use. It's as simple as that.