In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "what is the system throughput in blockchain Bitcoin technology". In daily operation, I believe many people have doubts about what system throughput is in blockchain Bitcoin technology. I have consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer your doubts about "what is system throughput in blockchain Bitcoin technology?" Next, please follow the editor to study!
System problem
In the traditional relational database scenarios, such as banks, in order to ensure that the data is not lost, it is generally used as the master and backup, there are two copies of data, one for each node, and the stand-alone storage capacity is the maximum amount of data stored in the whole system.
Entering the era of big data, the first problem is the increase in the amount of data, the storage capacity of one node can no longer meet the demand, so it is necessary to use multiple nodes to store together, and each node stores part of the data. Such as GFS, HDFS and other distributed file systems. In these systems, in order to ensure that the data is not lost, the three-copy mechanism is usually used, that is, three copies of each data are stored in different nodes.
Coming back to the Bitcoin system, each node stores a full amount of data, and there are several copies of each node, which can be thousands of copies. And his storage capacity is the same as the traditional stand-alone database, which will inevitably lead to a problem, how to do with more data?
Another problem is that the blockchain produces an average of one block every 10 minutes, and each block stores about 2000 bills, or 3.3 bills per second. For a global electronic money system, this throughput is very low. Such a low throughput solves the above problem, because there won't be too much data. In this way, the system is maintained at a level of slow data growth.
However, the peak of Alipay on Singles' Day is 256000 per second. As a global electronic money system, its throughput demand is only higher than Alipay. This throughput greatly limits the application scenario of Bitcoin. As a result, in the Bitcoin community, people have split into two camps to express their views on the issue.
Do you want to increase the block size?
Square: the block size can be increased reasonably.
The opposite side: keep the block size unchanged and expand the network scale.
(square) the size of each block can be increased from 1m to 2m, 4m, 8m, and gradually increases with the demand.
(opposing side) increasing the size of the block will increase the amount of data. You should know that at the beginning of the design of the block chain, anyone is allowed to join or leave the network at any time, and all data needs to be downloaded each time you join the network. The increase in the amount of data will also increase the cost of joining nodes, resulting in some small nodes can not be supported but can only be closed. In this way, the Bitcoin system may be controlled by large companies.
(square) the current total block chain size 145GB is increased by 4G per month, which doubles the block size by 8G per month. Amazon cloud platform costs 2 cents per G per month, so a reasonable increase in block size will not cause nodes to exit.
(opposing side) this reasoning is short-sighted, doubling can only be satisfied for a while, and it will keep doubling in the future, possibly reaching the size of each 1GB. At that time, ordinary people will not be able to run the full node.
Some solutions
1. Segregated witness (proof of isolation): this mechanism has been incorporated into the bitcoin system.
The basic function is: on the basis of not changing the block size, using the new block structure, seamlessly integrate with the original system to achieve the purpose of increasing the number of transactions held by the block.
Basic principle: once there was a signature in the input part of each transaction, now move this signature to the end of the transaction, and compress these signatures to the original 1P4, so that the number of transactions that a block can hold increases appropriately.
The isolation proved to be boiling-proof in terms of capacity. But the isolation certificate mainly solves another problem, which we will introduce in the next part.
2. Lightning (Lightning Network): an application layer lightning network built on the basis of blockchain to speed up transactions. The block chain records only a small amount of verification information, and a large amount of transaction data is placed in the upper application. In this way, the blockchain is more similar to a distributed check system.
At this point, the study of "what is the system throughput in blockchain Bitcoin technology" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.