当前位置:网站首页>J9 Digital Science Popularization: how does the double consensus of Sui network work?
J9 Digital Science Popularization: how does the double consensus of Sui network work?
2022-07-27 23:55:00 【J9 says numbers】
Sui It is a new blockchain , Besides using Rust Programming development and integration Move Outside the smart contract , The parallel consensus is Sui The core of the Internet , This article focuses on explaining this part .
Traditional blockchain is a shared ledger built by many validators , Every time the verifier wants to add incrementally to the blockchain , Be able to make block proposals and sort them . The final state is agreed .
Most transactions in the network are not interdependent with any other part of the blockchain state , therefore Sui The network uses this idea , To achieve parallelism .

The general way is ,Sui Lock data related to a transaction , Will verify independence . utilize Move Ownership model , This method can be further extended to more transactions . In this way, all transactions are a channel , such “ Multichannel ” Method can be used as a way of transaction validation , They don't influence each other , In parallel .
Sui Two consensus agreements are needed :
1. Deal with simple transactions based on Byzantine consensus broadcasting protocols , That is, the ledger consensus .
2. Independent agreement of causality to deal with independent transactions .
This represents , After the independent verification of the transaction, it needs some gas Consume .
Officials point out that this process probably requires 200 millisecond , The total confirmation time is 2-3 In seconds . This consumption demand , It is necessary to safely combine the two consensus protocols . Other blockchain metropolises will directly submit transactions to the consensus agreement for separate completion .
In order to find the verification logic of this idea .
The author thought about the process of trading out , For traditional blockchain , After a transaction is sent , It will be synchronized to the network first , Wait for the verification node to verify , This process is an uncertain process , After the transaction is packaged , Will continue broadcasting , Because there must be a competition process with the longest chain , Whether it's pos still pow, There will be this process , This is also a relatively floating process .
Seems to be ,Sui First, use causality to quickly verify the transaction , Then let the consensus verify the transaction proof , Twice , Are designed faster than traditional consensus .

Let's find some data of these two consensuses .
firstly : Each client submits a batch 100 transaction ( namely , Transferred to the 100 Different recipients ), With a signature . This configuration realizes the expected usage mode of highly scalable blockchain . for example , A large-scale hosted wallet or game server may need to submit hundreds or thousands of online transactions per second . Batch size is 1 when , Running on a machine 8 The nuclear verifier can handle 20,000 TPS, And as more cores are added , Throughput shows the same linear growth .
second : By 2022 year 3 month 19 Japan , stay 8 nucleus M1 Macbook Pro Unoptimized simplex running on Sui The verifier can execute and submit every second 120,000 individual token Transfer transactions (TPS). Throughput is linear with the number of cores , The same machine processes in a single core configuration 25,000 TPS.
As you can see above , When the network is not fully distributed , Its performance is as follows 20000tps-25000tps, And obviously , When the network starts to be built in a distributed structure , because p2p The reason of network communication , The second consensus in the network , That is, the consensus to determine the consistency of the ledger will be affected , It will also affect its performance .
Sui The design of the network , At present, it basically benefits from DAG Confirmation method , Parallel transactions , Can spread the pressure , At least , On the consumption of network resources , You can jump out of the consensus operation idea of blockchain such as Ethereum , To see the possibility ,Sui The network will soon go online to test the network , After the launch, the official will release more test data , At that time, it can be analyzed in detail again .
Risk warning :
This article is for information sharing only , Do not promote or endorse any business and investment behavior , Please strictly abide by the local laws and regulations , Do not participate in any illegal financial activities .
边栏推荐
- How to bold font in Latex & how to make circle serial number
- Using the optical fingerprint scheme under the huiding screen, Samsung Galaxy a71 5g is listed
- Explain the idempotence of distributed system in detail
- Buuctf childrsa Fermat theorem
- Redis hash underlying data structure
- MapReduce (III)
- Zabbix4.0 uses SNMP agent to monitor vcenter6.5
- Arm32进行远程调试
- Edit the copy and paste judgment problem (bug?), WYSIWYG display symbol problem feedback.
- 字符流学习14.3
猜你喜欢

Realization of gobang man-machine combat
![[RoarCTF2019]babyRSA威尔逊定理](/img/c1/52e79b6e40390374d48783725311ba.gif)
[RoarCTF2019]babyRSA威尔逊定理

Monologue of a software Investor: why don't I pursue fast-growing companies

【开发教程11】疯壳·ARM功能手机-定时器实验教程

Xss.haozi.me practice customs clearance
![[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters](/img/05/7029eb1fe36d7ddab2640f07247c81.png)
[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters

给网站套上Cloudflare(以腾讯云为例)

【飞控开发基础教程6】疯壳·开源编队无人机-SPI(六轴传感器数据获取)

JUC toolkit learning

2022夏暑假每日一题(五)
随机推荐
Under the epidemic, TSMC's growth in the first quarter exceeded expectations, with 7Nm accounting for 35%! Second quarter or record high
Master data management theory and Practice
Explain the idempotence of distributed system in detail
TSMC 3nm detail exposure: transistor density as high as 250million /mm ², Greatly improved performance and energy efficiency
File&递归14.1
What is the prospect of low code development? Are you really optimistic about low code development?
硬布线控制器的特点:
Error:svn: E155010: ‘/Users/.../Desktop/wrokspace/xxx‘ is scheduled for addition, but is missing
The first activity of togaf10 standard reading club was successfully held, and the wonderful moments were reviewed!
org.junit.runners.model. InvalidTestClassError: Invalid test class ‘com.zhj.esdemo. MysqlTests‘: 1.
Socket interaction process of four waves
xss.haozi.me练习通关
Can Siemens PLC collect analog data of multiple slave stations in real time and wirelessly?
真的很难理解?RecyclerView 缓存机制到底是几级缓存?
解密 OOM 崩溃下降 90% 的秘密~
尚硅谷尚品项目汇笔记(一)
The total investment is 60billion! Foxconn semiconductor high-end package test project officially settled in Qingdao
CaEGCN: Cross-Attention Fusion based Enhanced Graph Convolutional Network for Clustering 2021
Is it really hard to understand? What level of cache is the recyclerview caching mechanism?
Elk log analysis system installation and deployment