TPS Ethereum
blockchain includes public blockchain, joint (instry) blockchain and private blockchain. Public chain point-to-point e-cash system: bitcoin, smart contract and decentralized application platform: ethereum
blockchain is a new application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies
blockchain is an important concept of bitcoin. In essence, it is a decentralized database. At the same time, as the underlying technology of bitcoin, it is a series of data blocks generated by using cryptographic methods. Each data block contains a batch of bitcoin network transaction information, Used to verify the validity of its information (anti-counterfeiting) and generate the next block
extended data
according to the different degree of blockchain network centralization, three kinds of blockchains under different application scenarios are differentiated:
1. The blockchain with the whole network open and without user authorization mechanism is called public chain
2. The authorized nodes are allowed to join the network, and the information can be viewed according to the authority. It is often used in the inter agency blockchain, which is called alliance chain or instry chain
3. All the nodes in the network are in the hands of one organization, which is called private chain
alliance chain and private chain are also called licensing chain, and public chain is called non licensing chain
blockchain features
1, decentralization. Blockchain technology does not rely on additional third-party management institutions or hardware facilities, and there is no central control. In addition to the self-contained blockchain itself, each node realizes information self verification, transmission and management through distributed accounting and storage. Decentralization is the most prominent and essential feature of blockchain
2. Openness. Blockchain technology is based on open source. In addition to the private information of all parties involved in the transaction is encrypted, the data of blockchain is open to everyone. Anyone can query blockchain data and develop related applications through the open interface, so the information of the whole system is highly transparent
3. Independence. Based on consensus specifications and Protocols (similar to various mathematical algorithms such as hash algorithm used by bitcoin), the whole blockchain system does not rely on other third parties, and all nodes can automatically and safely verify and exchange data in the system without any human intervention
4. Safety. As long as 51% of all data nodes cannot be controlled, the network data cannot be arbitrarily manipulated and modified, which makes the blockchain itself relatively safe and avoids subjective and artificial data changes
5. Anonymity. Unless there are legal requirements, technically speaking, the identity information of each block node does not need to be disclosed or verified, and the information can be transferred anonymously
Ethereum uses fog computing. The data processing and applications of fog computing are concentrated in the devices at the edge of the network, rather than almost all stored in the cloud, which is an extension concept of cloud computing, which is more in line with the spirit of decentralization of blockchain. If all the storage and operations still stay on the centralized server, then it will not be a real blockchain
recently, the hot "ethereal cat" on Ethereum network has led to the congestion of Ethereum network. The problem is that the TPS concurrency per second of Ethereum is too low. The emergence of ethereumfog with fog computing will break the embarrassing situation of Ethereum network congestion, and add powerful decentralized storage and additional computing power to the chain.
Ethereum uses fog computing. The data processing and applications of fog computing are concentrated in the devices at the edge of the network, rather than almost all stored in the cloud, which is an extension concept of cloud computing, which is more in line with the spirit of decentralization of blockchain. If all the storage and operations still stay on the centralized server, then it will not be a real blockchain
recently, the hot "ethereal cat" on Ethereum network has led to the congestion of Ethereum network. The problem is that the TPS concurrency per second of Ethereum is too low. The emergence of ethereumfog with fog computing will break the embarrassing situation of Ethereum network congestion, and add powerful decentralized storage and additional computing power to the chain
the concept of fog computing may be unfamiliar to many chain friends, but it is the most important aspect of ether fog to attract investors. In fact, I have heard about the concept of fog computing for a long time, and I have always thought that fog computing is the future development direction. When it comes to fog computing, we should start with cloud computing. In fact, the cloud computing we see now evolves from the cluster of independent servers, that is, from the original centralized independent servers to large server clusters, but in the final analysis, it is still a form of centralized computing. Compared with cloud computing, which is the evolution of centralized computing, fog computing is to share computing tasks with various computing power devices around us, and realize the evolution of decentralized and distributed computing, which coincides with the philosophy of blockchain itself.
in comparison, the decentralized exchange based on EOS is much better, because its TPS is fast enough to handle the decentralized application at the present stage, and its speed is much better than that on Ethereum. Whaleex, in particular, is very smooth in use, with fast transactions. It is not inferior to those centralized exchanges. Among all decentralized exchanges, whaleex is excellent
therefore, I think the decentralized exchange on EOS may break out faster than that on Ethereum, especially the whale exchange, which will be a dark horse. The smart contract of their home is also the only one that has passed the slow fog security audit. The security is particularly high and the use is assured.
in front of the article: the video version is slightly different from the text version. If you want to see my affectionate interpretation, please see the video version (meow understands blockchain phase 22 | sharding: Ethereum is too slow, "disk" him!), The logic of thinking is strange. Please see the extended version
recently, Ethereum has shown an overwhelming positive trend e to the Constantinople upgrade, while Ethereum's upgrade road is like upgrading and fighting monsters, falling into rabbithole. No one knows how deep the hole is. Since it is a long way to go, it is of vital importance to make every step well and accurately. After overcoming this difficulty, Ethereum's next technical difficulty, sharding fragmentation, has been put on the table again. This issue of "meow understands blockchain" will take you into sharding, the magic weapon that makes Ethereum fast
what is sharding
slicing technology is not a new concept. At first, it is an optimization scheme for large central database. Specifically, it divides the data in large database into many shards according to certain rules, and then stores these data in different servers to rece the data access pressure of each server, So as to improve the performance of the whole database system
let's take a small popular example:
for example, meituan, Didi taxi and other software that we often use can be divided according to the "city". Because the data of different cities do not need to communicate, the data of different cities can be stored in different databases, so that the database server can be deployed to the nearest node from the corresponding city, Can also improve the speed of access, why not do it
from the above examples, we should have a preliminary understanding of the concept of fragmentation. What about fragmentation in blockchain scenarios
taking Ethereum fragmentation as an example, in the original single chain system, the overall performance of the public chain depends on the performance of a single node. After fragmentation, each node only needs to undertake the work of the whole network, and each fragmentation works in parallel. According to vitalik, each shard is like a separate galaxy, and each fragmentation is like an independent universe, In this way, the efficiency will be improved naturally! Originally, the total network TPS of Ethereum chain was about 20. Now, if it is increased to 100 pieces, the total network TPS can be increased to 2000. Similarly, the total network capacity will be increased to 100 times of the original
"each node only needs to undertake part of the work of the whole network", which will lead to several major problems. 1. How to determine which piece of work this node is responsible for? 2. Which transactions should be classified into which segments? 3. Does each node only need to store its own transaction information (ledger)
according to the implementation of the above problems, we can divide the fragmentation into three types: network fragmentation, transaction fragmentation and state fragmentation
Network fragmentation: how to divide the nodes of the whole network into different partitions
transaction segmentation: how to divide the whole network transactions into different segments
State fragmentation: how to make each node only maintain the account book in its own fragmentation without affecting the security of the whole system
the difference and connection between main chain and fragmentation chain
we have understood the types of fragmentation, so what's the difference between main chain and shard chain
turn left | turn right
the realization of Ethereum fragmentation is a long process. Even vitalik himself said that it will be graally realized by stages. We'd better look forward to whether fragmentation can move from theory to practice
RSK smart contract is a smart contract platform based on bitcoin blockchain. RSK (rootstock) has been an eye-catching development platform since its concept was proposed. In essence, RSK is to build a decentralized and Turing complete intelligent contract platform similar to Ethereum. However, RSK is based on the bitcoin ecosystem rather than an independent blockchain. The specific way is to use the side chain technology. This approach has both challenges and great advantages
smart contract platform:
smart contract is the current research hotspot. Nick Szabo came up with the idea 20 years ago. Generally speaking, it is an electronic contract that can be executed automatically based on trigger conditions. Smart contract is the next generation of procts to realize automatic execution in various business environments, which may subvert the existing business model. For example, on-demand economy, such as insurance contract customized according to each journey, reaching the set end of the journey or writing a program to determine, and then the insurance contract ends. This insurance mode can even be connected to P2P mode, which makes traditional insurance companies useless. These simple examples can be realized through RSK smart contract platform
The advantages of RSK:
RSK has many innovations. Firstly, Turing complete virtual machine is compatible with Ethereum virtual machine. Ethereum contracts can be run on RSK virtual machines. The goal of RSK is to achieve 20 seconds block time and 300 transfer transactions (TPS) per second at the first launch, which can be expanded to 1000 TPS. It has reached the level of PayPal, but it has not reached the throughput of credit card network. Compared with other platforms, the biggest advantage of RSK is the combined mining of bitcoin, and the security level is equal to that of bitcoin network. But it also needs to persuade miners to implement. RSK revealed that they will make miners profitable, and the implementation of the contract round fees will make miners profitable. It is likely that the RSK platform will be very popular and the contract execution will reach a stable level
