Transaction Speed
Improvements and optimizations for Ergo transaction processing speed.
The speed of transactions, commonly known as Transactions Per Second (TPS), is a vital performance metric for blockchains. It quantifies the capacity of a blockchain to process transactions, expressed in transactions per second.
The primary bottleneck for increasing transactions per second (TPS) is the peer-to-peer (p2p) network layer. Proof-of-Work (PoW) is already an efficient timestamping protocol for the base layer (Layer 0) because it operates asynchronously, without the need for additional network messages. Many alternative consensus mechanisms require extra bandwidth, making them less efficient. For instance, the original Ouroboros consensus protocol generated large log files, although this was later improved in the Praos version using Verifiable Random Functions (VRF). However, relying on novel cryptographic primitives can be risky, especially when significant assets are involved.
While TPS could be boosted by introducing measures like supernodes or eliminating mempools, as seen in projects like Solana and Avalanche, these approaches compromise the decentralization and integrity of the network. Therefore, if the goal is to maintain a truly decentralized cryptocurrency, these methods should be avoided.
The remaining viable solution for improving TPS lies in optimizing bandwidth usage and implementing Layer 2 solutions and sidechains, also known as application-specific chains.
Comparative TPS Values for Renowned Blockchains
To provide a perspective, here are the estimated TPS values for some of the leading blockchains:
However, the conventional TPS metric only offers a glimpse into Ergo's true potential. It's not merely about the number of transactions; the weight of the transaction and the computational cost limit per block are equally important. These aspects are shaped by several dynamic factors, including the size of the network and the hardware resources available to miners.
Ergo's Current Performance
With the Node v5 already operational, Ergo's raw TPS is approximately 47.5 transactions/second, with room for further enhancements.
For an in-depth technical understanding of how this figure is derived, please refer to the technical report available on GitHub.
The Extended Unspent Transaction Output (eUTXO) Model Advantage
Ergo's transaction management system leverages the Extended Unspent Transaction Output (eUTXO) model, which outperforms the traditional UTXO model in terms of efficiency and flexibility. This model allows for multiple outputs in a single transaction, each potentially carrying different tokens.
Moreover, Ergo is capable of handling complex DeFi transactions, thereby enabling a broad spectrum of DeFi applications within the network. By processing multiple token types per transaction output and facilitating the simultaneous execution of complex transactions within a block, Ergo significantly boosts its blockchain's performance and scalability.
Multiple Outputs
Single transactions can contain multiple outputs, each carrying different tokens, maximizing efficiency per transaction.
Complex DeFi Support
Enables sophisticated DeFi operations within individual transactions, reducing network congestion.
Parallel Processing
Facilitates simultaneous execution of complex transactions within blocks for improved throughput.
Multi-Token Efficiency
Processes multiple token types per transaction output, optimizing blockchain resource utilization.
Scaling Philosophy
The primary objective in scaling Ergo is to enhance TPS without compromising the fundamental principles and assurances typically linked with blockchain technology.