Overview

The Somnia blockchain has many innovations that enable it to increase performance by several orders of magnitude compared to other EVM chains:

  • MultiStream consensus - a proof-of-stake, partially synchronous BFT protocol inspired by Autobahn BFT.

    • Independent Data Chains - Each validator operates its own blockchain, or “data chain,” which allows for independent block production. This unique approach eliminates the need for a consensus mechanism within individual data chains, streamlining the data processing workflow.

    • Consensus Chain - A separate blockchain aggregates the heads of all data chains, employing a modified PBFT algorithm for proof of stake consensus. This structure decouples data production from the consensus process, significantly enhancing overall efficiency.

  • Compiled Bytecode - By translating EVM bytecode to highly optimised native code, Somnia achieves execution speeds close to hand-written C++ contracts, facilitating the execution of millions of transactions per second on a single core.

  • Faster and predictable database performance - Somnia has a custom database called IceDB. It employs performance reports for predictable read and write performance as well as a custom database architecture that enables average read/write operations 15-100 nanoseconds with built in snapshotting.

  • Advanced Compression Techniques - The Somnia data chain architecture is designed to enable streaming compression in order to maximise data throughput. Somnia combines this with BLS signature aggregation in order to achieve extremely high compression ratios, allowing for massive transaction data throughput. This allows theoretical performance above other preported “limits due to bandwidth”.

Last updated