How does Trias help Ethereum to achieve 20x TPS?

Trias
4 min readAug 29, 2018

The performance of the blockchain has always been a wall that hinders its progress. The measure of blockchain performance is TPS, which is means number of transactions per second. Bitcoin’s TPS is 7, which is determined by its block rate and block size. The TPS of Ethereum is about 20, and it has been greatly improved on the basis of Bitcoin. You can run some simple applications on it (DApp).

However, DApp, which has a large number of the transactions volume and large amount of data, still cannot meet its needs. As a result, we can say the blockchain network is congested or defective. Ethereum now has a lot of DApps. One of the more interesting blockchain applications is a game DApp called CryptoKitties, which mean is a blockchain cat game. Hobbies and likes are configuring the shape of your cat, while you can also ‘breed’ to get a new cat, this cat will determine its shape according to the combination genes of the previous generation.

If the current speed issue of the blockchain can be solved, the prospects of blockchain technology development will be more impressive. Today’s the number of transactions per second TPS for a traditional network is generally tens thousands or even hundreds of thousands. According to relevant statistics, Alipay completed 1.48 billion transactions per day, peaking 180,000 / sec, which seems to be impossible to reach it for the current blockchain. In these applications where performance is critical, the blockchain is simply not up to the task.

With the continuous development of blockchain technology, the TPS of the new blockchain can reach hundreds or even thousands of TPS, which greatly expands the application range of the blockchain and the acceptance of DApp is getting higher and higher. We know that the consensus mechanism of Bitcoin is PoW, which means Proof-of-Work. Its advantage is that all nodes of the whole network must participate in accounting, which more securely protects the data from irreparable modification. However, it also has many disadvantages. It requires a lot of resources, including power, hardware, manpower, etc., and its performance is very low. In addition to being a consensus mechanism for cryptocurrencies, this consensus mechanism has few scenarios that can be applied.

Ethereum mainly focuses on the PoS consensus mechanism, it means Proof-of-Stake. Although this consensus mechanism has significantly improved performance and the speed of the block, it does not really solve the performance problem of the blockchain.

So how can we solve the performance problem of the blockchain? Trias proposed a solution. The problem of blockchain performance can be solve by heterogeneous TEE and consensus protocols based on small-world graph computing networks. The optimization of the data mode of the heterogeneous TEE itself, with optimization of the quality and quantity of the supernodes by the small graph computing network, and the optimization of the consensus protocol itself can improve the blockchain performance of Trias.

Last week, the Trias technical team optimized the throughput performance of the TEE supernodes per second, and the transaction performance of TPS increased about 1 time more than the first release. The current speed has reached 20 times more than Ethereum, which has greatly improved the performance of the blockchain. TEE supernodes will first retrieve data in the cache layer when reading and writing. This optimization is mainly for the cache layer of the supernodes, which improves the data concurrency and size of the cache layer, thereby improving the TPS of the system. In the ideal situation of the network, the TPS has reached 400 times of Ethereum.

The above expressions maybe not that much clearer, so let’s talk about the details of TPS upgrading. In the blockchain, all accounting is recorded in the block. Before the information is recorded in the block, the data is first stored in the temporary area, and then the data is written into the block by the temporary area. Today’s optimization is to improve the performance of concurrent writes in the cache, so that at the same time if you can only record two data before, you can now record four data. After that, the consensus request from the buffer area to the block will be more in the same time than before, because the performance of the previous block is not completely drained. In some cases where the block has remaining performance, it can do more if it is given more tasks. This will improve performance on the original basis.

Although it only doubles the performance, the overall performance and efficiency of the blockchain are more impressive, more data transactions can be processed, and more DApp’s can be applied. It is believed that the performance of Trias’ blockchain will grow exponentially during the process of continuous testing optimization and updates at the same time. Trias will also focus more on the security and privacy of blockchain data and will grow at a rapid rate while ensuring data security.

--

--

Trias

Trustworthy and Reliable Intelligent Autonomous Systems