At the core of Somnia’s high performance are several technological innovations that set it apart from traditional blockchain networks. One of the standout features is its unique architecture, which supports up to 400,000 transactions per second with quick finality and very low charging fees.
This architecture employs a combination of MultiStream consensus, compiled bytecode, and the ICEdb database to achieve unprecedented levels of efficiency and scalability.
MultiStream Consensus
Somnia utilizes a MultiStream consensus model that revolutionizes how transactions are processed on the blockchain. Key features of this model include:
Validators manage their own independent chains, operating without the need for constant consensus verification.
Validators can update transaction data asynchronously, significantly boosting Somnia’s overall network performance.
Data from individual validator chains is aggregated into a separate consensus chain, further enhancing processing efficiency.
Not only it boosts validator efficiency but also supports parallel processing, which is crucial for achieving high throughput and sub-second finality.
In essence, the MultiStream consensus model enables Somnia to process multiple transaction streams simultaneously, making it a truly high-performance blockchain.
Compiled Bytecode
Another key innovation in Somnia’s architecture is the use of compiled bytecode. Somnia transforms Ethereum Virtual Machine (EVM) bytecode into highly optimized native CPU code, dramatically enhancing execution speed. This means that smart contracts on Somnia can run at speeds closer to native execution, improving efficiency and reducing unnecessary operations.
ICEdb Database
The ICEdb database is another critical component of Somnia’s high-performance architecture. Key features of ICEdb include:
Designed specifically for fast read/write operations
Average read/write times between 15 to 100 nanoseconds
Optimized for simultaneous read and write tasks
Significantly speeds up transaction processing
Additionally, ICEdb provides a gas pricing advantage based on actual resource consumption, making transactions more economical. This dynamic gas pricing model reflects actual resource usage, ensuring that developers and users benefit from lower transaction costs