Nirvana: NAC public chain adopts netty based on NiO, which realizes millions of TPS concurrent applications on the chain

Blockchain first information 2021-04-01 18:22:19 阅读数:288

本文一共[544]字,预计阅读时长:1分钟~
nirvana nac public chain adopts

Preface :NA Public chain (Nirvana) Want to build a “ Application is king ” The utility of the public chain ,TPS This is one of the key points in the early stage work , so to speak TPS The numerical ceiling will determine the height of the short board of the application created on its common chain .

​​

TPS The full English name is Transaction PerSecond, Applied to digital currency ,TPS, That is, system throughput , It is the measurement unit of software test results , A value represents the process of a client sending a request to the server and the server responding to it . Generally speaking , It is an important indicator to measure the processing capacity of the system , It reflects the performance of the system .

 

If TPS Concurrency per second is too low , It's easy to cause serious network congestion , Thus, blockchain can not be implemented in the high value and high concurrency business field . such as , because TPS Concurrency per second is too low , Bitcoin and Ethereum have high transaction costs 、 Long confirmation time 、 Poor scalability , The bitcoin community is split , Hard bifurcation becomes the norm .

 

In the blockchain industry ,TPS It has always been a technical parameter that has received much attention . If TPS Concurrency per second is too low , It's easy to cause serious network congestion , For high concurrency business applications on the blockchain , In the early stage of landing, there have been fatal injuries . Bitcoin and Ethereum, for example, were once famous for TPS Concurrency per second is too low , There are high transaction costs 、 Long confirmation time 、 Poor scalability .

 

In order to win a place in the blockchain industry , A lot of money is in TPS On the article , I hope that we can improve TPS. To 2018 year ,fabric It can reach thousands of people TPS, And graphene series can reach tens of thousands of TPS, Bitcoin and Ethereum Off-chain The scheme theoretically supports infinite TPS.

 

stay Nirvana The white paper also describes the technology used in its network communication . Will create more value 、 Public chain application ecology with more operational possibility is the goal of the project Nirvana Since its establishment , They have adopted a series of new technical support schemes for public chain construction , Its network communication is also one of the key points .

 

according to the understanding of ,Nirvana Based on NIO Of Netty.NIO With cache oriented operation , It also uses virtual memory technology , Batch operations can be performed on client requests , And based on NIO technology Netty I have reserved nio Characteristics of , Package optimization is also carried out , More convenient operation , In the development of high-performance server and client has a unique advantage .

 

current Netty Rich in functions , Built in a variety of data encoding and decoding functions 、 Support multiple network protocols ; It's also very scalable , It can provide ChannelHandler Component is a flexible extension of network communication . at present Netty It has been tested by many commercial applications , In the field of Internet 、 Big data distributed computing 、 Game industry 、 Communication industry has been widely used , Some of the industry's famous open source components are also based on Netty Build the framework .

 

The data throughput of network communication determines whether the application scenario is normal 、 Efficient operation ,NirvanaNA Public chain mining docking rear end 136 22 951 Want to build a “ Application is king ” The utility of the public chain ,TPS This is one of the key points in the early stage work , so to speak TPS The numerical ceiling will determine the height of the short board of the application created on its common chain . With this guarantee , At least there are more extensible possibilities in finding application directions and scenarios , It's to build an excellent practical public chain , One of the most important antecedents .

版权声明:本文为[Blockchain first information]所创,转载请带上原文链接,感谢。 https://netfreeman.com/2021/03/20210330162448171I.html