The web3.js is the most easiest and perhaps the standard way of dapp creation.And there are two providers possible as of now , HttpProvider and IPCProvider. The HttpProvider takes the address at which the server is running, it can be something like
var Web3 = require('web3'); var web3 = new Web3(); web3.setProvider(new web3.providers.HttpProvider("http://localhost:8545")); // or it can be http://m.n.k.l:8545
My question is if the server hosting/node , has went down how can the client be able to access it. In cases like this the entire dapp is down. Then what is the point of calling it dapp ?
Is my understanding correct about having a single server as provider ?
Not all dapp creators host their own server / a node running in rpc.In such cases, how would the creator would know any node address ?