分布式站点和中心化站点的运作模式是完全不同的,分布式站点会保留用户提交的数据,直到最后渲染页面时才会处理数据。

举一个例子,每个用户提交一个数字,这个站点计算总和。这就很明显了,只能保留提交的数字,因此每次打开都要计算一下。

如果计算过程更复杂一点,数据越多,计算量就更多了。

一般情况下,数据要是不常变化,可以通过缓存解决。

若是再复杂一点,大概就要区块链来取得共识了。

反正相当于中心化网站而言,怎样都复杂得多


The mechanism of dweb sites is completely different to www websites. We save user data, and process/render it when a user opens it.

For example, each user adds a number. A site calculates the sum. Obviously, we have to save the original numbers, so we must re-calculate the sum every time we open the site.

If the calculation is not only getting the sum, but more complicated, the site gets slower.

In general, we can cache the sum if the data doesn’t always changes. Otherwise we should use blockchain to gain consensus.

After all, dweb sites are much harder to build than www sites.