BM讲解EOS资源分配

eoshenzhen(44)
Published in
#bm
Words
3077
Reading
14 min
Listen
Play
8y

版权声明:

以下内容来自微信公共帐号“EOS技术爱好者”,搜索“EOSTechLover”即可订阅,作者Lochaiching,PPT英文版作者Sheldon。转载必须保留以上声明。仅授权原文转载。


在今年的3月24日,EOShenzhen举办了一次EOS技术爱好者的线下交流会,当时我们的CTO Sheldon讲的内容是Dan刚刚公布不久的、关于EOS资源分配的视频讲解。

In this year's March 24th, EOShenzhen held a EOS technology communication meet up, our CTO Sheldon is tell Dan just released soon, about the EOS video interpretation of the allocation of resources.
WechatIMG138.jpeg

当时Sheldon已经把文本英文版图片上传过网络,讲解者本人BM也转载过,链接可到 https://steemit.com/cryptocurrency/@eosgo/breakdown-of-eos-resource-allocation-video-w-dan-larimer
BM转推.jpeg

本文内容推送先中文后英文。
The content of this article is pushed first in Chinese and then in English.
Dan讲解EOS资源分配.001.jpeg
Dan讲解EOS资源分配.002.jpeg
Dan资源分配(英文原图part1).002.jpeg
EOS的资源类型从一开始就非常明确,包括了带宽、CPU、RAM和存储。最近大热的话题RAM只是其中一种。但RAM的存在和其他类型的资源有所不同,也是能被炒作的原因之一。关于存储资源,EOS有专门的白皮书,具体可见:https://github.com/EOSIO/Documentation/raw/master/EOS.IO%20Storage.pdf

The resource types of EOS are pretty clear from the start, including bandwidth, CPU, RAM, and storage. RAM is just one of the hot topics these days. However, the existence of RAM is different from other types of resources, which is one of the reasons why it can be hyped. With regard to storage resources, the EOS has a special white paper, which can be seen in detail : https://github.com/EOSIO/Documentation/raw/master/EOS.IO%20Storage.pdf
Dan讲解EOS资源分配.003.jpeg
Dan资源分配(英文原图part1).003.jpeg
资源之中,其中一个分类是基于时间,包括了带宽和CPU,这种类型的资源与你所持有的token捆绑在一起。也就是一旦你拥有全网1%的token,不管网络多么拥挤,你都能拥有1%的网络资源和带宽。

One of the categories of resources is based on time, including bandwidth and CPU, which are tied to the token you hold. That is, once you have 1% token of the whole network, no matter how crowded the network is, you can have 1% network resources and bandwidth.
Dan讲解EOS资源分配.004.jpeg
Dan资源分配(英文原图part1).004.jpeg
用户A一旦通过质押得到了带宽资源,要是用户A需要拿回自己的token,从解除抵押token开始,需要等待3天,才能把token从全网里拿到手。

Once user A gets the bandwidth resource through pledge, if user A needs to get back his token, he needs to wait 3 days to get the token from the whole network, starting from the unsecured token.
Dan讲解EOS资源分配.005.jpeg
Dan资源分配(英文原图part1).005.jpeg
用户A需要用到RAM,通过质押自己的token从RAM总量的池子中获取其中一部分的RAM。

这个步骤逆行回去,就是用户A需要用到自己的token,解除质押,用户A的RAM将会回到RAM总量池子中,将会释放同比例RAM质押的token,此时这部分token将会回到用户A的手中,RAM重回RAM总量系统中。

User A needs to use RAM, and gets part of RAM from the pool of total RAM by pledging his token.

Retrograde back, this process was A user need to use your token, remove the pledge, user A RAM will be returned to the amount of RAM in the pool, will release the same proportion of pledge of RAM token, this part this token will be returned to the hands of A user, the RAM back on the amount of RAM in the system.
Dan讲解EOS资源分配(中文原图part2).001.jpeg
EOS Resources Video Summary(英文原图part2).001.jpeg
我们先来看关于CAS链接(https://forums.eosgo.io/discussion/316/recommendation-for-content-addressable-storage-for-storage/p1?new=1 )的解释:

(CAS)x线



使:

1

2

3

在EOS中,存储部分不是用磁盘,而是用CAS这种存储模式。这种模式用到IPFS技术,存储文件在IPFS中,此存储哈希记录在一个由BP负责的文件中。为了达到效率和安全的考虑,文件并不是全部存储在链上,链上的内容只是文件链接的哈希值。使用时通过检索找出。

此部分的连接(即链上和链下)负责方由BP担任,他们手握资源的钥匙,检验来者信息无误,就需要帮助来者找到检索的内容。

Let's see about the CAS links (https://forums.eosgo.io/discussion/316/recommendation-for-content-addressable-storage-for-storage/p1?new=1 ):

Content-addressable storage (CAS) is a way of storing information that can be retrieved based on its content, instead of its storage location. It's typically used for long-term storage and retrieval of fixed content, like documents stored with compliance for government regulations, or medical records like x-rays and MRIs.


Using content-addressing models provides three main benefits:

- The need for applications to understand the physical location of information is eliminated.

- A content address acts a digital fingerprint, which can be used for irrefutable authenticity during a legal or regulatory investigation.

- Digital fingerprints are used to identify and eliminate duplicate records, such as emails with attachments, which ultimately reduce archive capacity requirements.

In EOS, the storage part is not on disk, but in the storage mode of CAS. This pattern USES IPFS technology to store files in IPFS, which store hashes in a file run by BP. For efficiency and security reasons, not all files are stored on the chain, but only the hash value of the file link. Use by searching to find.

This part of the connection (that is, on and under the chain) is managed by BP, who holds the key to the resource and verifies the information of the visitor. They need to help the visitor find the retrieved content.

Dan讲解EOS资源分配(中文原图part2).002.jpeg
EOS Resources Video Summary(英文原图part2).002.jpeg
在投票方面,token持有者进行操作的时候,需要质押自己的token获得投票的前提条件,并且想要拿回自己的token,解除质押的时候,需要有3天的时间才能拿到自己的token。

目前情况看来,投票中选择代理投票的比例并不大,这种现象可能会在一定程度上制约社区的蓬勃发展,有兴趣的可以了解为什么我们必要时可以选择一个值得信赖的家伙帮我们代理投票(https://steemit.com/eos/@eosphere/proxy-your-eos-vote-for-the-good-guys

In terms of voting, token holders to operate, need the premise condition of pledge his token get to vote, and want to take back their token, remove the pledge, need to have 3 days to get your token.

At present, the proportion of voting, select the agent is not large, to some extent, this phenomenon may restrict the community to flourish, can understand why we are interested in May, when necessary, to help us choose a trustworthy guy proxy votes (https://steemit.com/eos/@eosphere/proxy-your-eos-vote-for-the-good-guys )

Dan讲解EOS资源分配(中文原图part2).003.jpeg
EOS Resources Video Summary(英文原图part2).003.jpeg为了防止恶意的垃圾邮件或者其他恶意攻击,从而来阻碍网络的流通顺畅,选择的不是提高交易费用,而是在交易速率上有所限制。

我们可以来看看,为什么以上设置是如此选择的。

In order to prevent malicious spam or other malicious attacks and thus hinder the smooth flow of the network, the choice is not to increase transaction costs, but to limit the transaction speed.

We can see why the above Settings are so selected.

Dan讲解EOS资源分配(中文原图part2).004.jpeg
EOS Resources Video Summary(英文原图part2).004.jpeg
在以太坊上的经验上,我们可以看到因为gas可以因为花费的大小来调节交易速度。所以在以太坊上我们经常可以看到因为某应用的兴起,交易量变大,就会导致全网堵塞的现象。这是以太坊选择用费用来限制速率的结果。

EOS选择了另外一条——直接限制速率,不管是空投、交易量大小期间,都在一定程度上保证带宽资源没有之前的困扰。

In the experience of ETH, we can see that because gas can adjust the transaction speed because of the size of the cost. Therefore, we can often see in ETH that due to the rise of an application, the transaction volume increases, which will lead to the phenomenon of network congestion. This is the result of atv's selection fee for limiting the rate.

The EOS chose another option -- to directly limit the rate, whether during airdrops or transaction volumes, to a certain extent to ensure that the bandwidth resources did not suffer as before.

Dan讲解EOS资源分配(中文原图part3).001.jpeg
EOS Resources Video Summary(原图英文part3).001.jpeg
我们假设,有1TB的RAM,同时有10亿的token,此时token的总市值为1000亿美元,要是我们需要使用1 Byte的RAM,并且用的是平均价格,就需要用到10美元了。这个价格长期来看让一般开发者负担不起。

BM说,理想状态是,希望开发者用的第一个Byte是便宜的,这个RAM的价格会随着使用的RAM总量增加而呈指数级地增长。而在假设中的总RAM为1TB的情况下,当RAM越接近1TB时,需要的成本花费接近无穷大。

RAM的价格曲线与Bancor算法有关,接下来将会提及,如何防止RAM价格在尾部下坠。
Our assumption, and we have 1 TB of RAM, 1 billion at the same time, the token of the token of the total market value of $100 billion, if we need to use 1 Byte RAM, and with an average price, you need to use the $10. The price is too high for the average developer in the long run.

Ideally, the first Byte that you want developers to use is cheap, says BM, and the price of RAM increases exponentially as the amount of RAM used increases. In the case of the assumed total RAM of 1TB, the closer the RAM is to 1TB, the cost will be almost infinite.

The price curve for RAM is related to the Bancor algorithm, and we'll talk about how to prevent RAM prices from falling in the tail.
Dan讲解EOS资源分配(中文原图part3).002.jpeg
EOS Resources Video Summary(原图英文part3).002.jpeg
这种机制设计的结果是,直到有人释放RAM的量,否则你不能用相同的价格买回之前的同样数量的RAM。这条曲线是指数级正相关的。

The result of this mechanism is that you can't buy back the same amount of RAM at the same price until someone releases it. This curve is exponentially positive.
Dan讲解EOS资源分配(中文原图part3).003.jpeg
EOS Resources Video Summary(原图英文part3).003.jpeg
而各位可以想一下,为什么设计这个模型的时候,不选择用全网资源总价除以资源数量等于资源恒定单价,而是选择用Bancor算法保持曲线正相关指数级增长。

探索这个问题,可能会得到不一样的收获。

And you can think about it, why the design of this model, choose not to use so constant sum divided by the number is equal to the resources price, rather than use running algorithm keep curve is related to exponential growth.

Exploring this problem may yield different results.
Dan讲解EOS资源分配(中文原图part3).004.jpeg
EOS Resources Video Summary(原图英文part3).004.jpeg
买RAM之后,用户A并不能直接把RAM转让给用户B,就算关系很好,A是RAM拥有量大户,B是RAM量使用大户。用户B想要得到RAM,只能自己从全网购买。用户A想要做短期波段来获利,也只能和全网系统做买入卖出的交易。

要是投机者想要炒作获利,低价买高价卖,这种现象会在RAM使用量越来越大的情况下逐渐削减。市场价格稳步增长上去,用量大之后,价格波动幅度会逐渐减小。

目前的市场还处于初级阶段,动荡和波动偏大也是在模型表现之内。到了后期,买入和卖出的成本价差获利偏低。所以BM可能会认为,这样可以使得市场走向平衡和合理的阶段。

After buying RAM, user A cannot directly transfer RAM to user b. even if the relationship is good, user A is A large user of RAM and user B is A large user of RAM. User B can only buy the RAM from the whole network if he wants it. User A wants to make profits in the short - term band, and can only buy and sell with the whole network system.

If speculators want to hype profits and buy low and sell high, this phenomenon will be gradually reduced as RAM usage increases. The market price rises steadily, after big dosage, the price fluctuation range will decrease gradually.

At present, the market is still in the initial stage, and turbulence and excessive volatility are also included in the model performance. In the latter stages, the cost differential between buying and selling is low. Therefore, BM may think that this can lead to a balanced and reasonable market stage.
Dan讲解EOS资源分配(中文原图part3).005.jpeg
EOS Resources Video Summary(原图英文part3).005.jpeg
Dan讲解EOS资源分配(中文原图part3).006.jpeg
EOS Resources Video Summary(原图英文part3).006.jpeg
在这样的情况下,看这个模型的结论,可能是越早买价格会越低。而现实告诉我们,趋利者永远是最敏感动力最强的小部队。

只要有利益的地方,他们总能把理论上的曲线掰弯。

In such a case, the conclusion of this model may be that the earlier you buy, the lower the price. But reality tells us that the profit-seekers are always the most sensitive and powerful small force.

They can bend theoretical curves wherever there is a benefit.
Dan讲解EOS资源分配(中文原图part3).007.jpeg
EOS Resources Video Summary(原图英文part3).007.jpeg
Dan讲解EOS资源分配(中文原图part3).008.jpeg
EOS Resources Video Summary(原图英文part3).008.jpeg
以上是本系列的全部内容。

4个月前发布的视频内容,到如今很多内容也进行了更新升级。基础性的文件和结构还是有必要花时间多看的,我们看到了RAM的价格暴涨暴跌,要是能知道RAM为什么价格会暴涨暴跌,完全是不一样的主动性。可能在下一次机会来临之前有所准备,也有技术基础可以进行更深一层的讨论。

That's all in this series.

Video, which was released four months ago, has also been updated and upgraded. Basic file and structure still need to take time to read, we see the RAM prices slump, if I could know why RAM slump in prices would skyrocket, initiative is completely different. There may be some preparation before the next opportunity comes along, and there is a technical basis for further discussion.

本文英文版图片由Sheldon制作,中文版图片由Lochaiching翻译
The English version of this article was produced by Sheldon and translated by Lochaiching in Chinese


相关文章:

We are EOShenzhen

不同入口如何投票:
imToken
火币
portal

关于我们更多联系:
Website:https://eoshenzhen.io

Steem:https://steemit.com/@eoshenzhen

Busy:https://busy.org/@eoshenzhen

Telegram:https://t.me/eoshenzhen

Twitter:https://twitter.com/eostechlover

简书:EOS技术爱好者

新浪微博:EOSTechLover


EOShenzhen的投票账号:eoshenzhenio
100x100-IMG_7963_small.png

BM讲解EOS资源分配 | Ecency