Liquid Stake with compassSOL for an 9.66% APY from staking, MEV + fees
Enjoy the freedom of liquid staking in Solana Defi while delegating your stake to the high performance Solana Compass validator. Stake or unstake at any time here, or with a Jupiter swap.
Benefit from our high staking returns and over 2 years experience operating a Solana validator, and receive additional yield from priority fees + MEV tips
Earn 6.9% APY staking with Solana Compass
Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.9% APY yield on your SOL, while supporting us to create new guides and tools. Learn more
Stake your SOL
- Click to connect your wallet
- Enter the amount you wish to stake
- Kick back and enjoy your returns
- Unstake from your wallet or our staking dashboard
Earn 6.9% APY staking with Solana Compass
Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.9% APY yield on your SOL, while supporting us to create new guides and tools.
Technical Talk: Sig: Read-Optimized Solana Validator Client (Drew Nutter)
By breakpoint-24
Published on 2024-09-21
Cineca introduces a new read-optimized Solana validator client to address slot lag and improve user experience.
In a groundbreaking presentation at Breakpoint 2024, Drew Nutter, Senior Protocol Engineer at Cineca, unveiled Sig - a revolutionary read-optimized Solana validator client that promises to solve the persistent issue of slot lag and dramatically improve user experience across the Solana ecosystem.
Summary
Cineca, a web3-native cloud provider specializing in RPC infrastructure and developer tools for Solana, has identified slot lag as a significant challenge facing the network. This issue causes delays and errors in user interactions with decentralized applications (dApps) due to RPC nodes struggling to keep up with the latest chain data.
To address this problem, Cineca is developing Sig, a new Solana validator client built from the ground up with a focus on maximizing reads per second. This innovative approach aims to not only eliminate slot lag but also enhance Solana's fault tolerance through client diversity and strengthen the developer community with an emphasis on code readability.
The presentation delved into the technical details of Sig's implementation, particularly its novel approach to account storage and transaction handling. By reimagining core components such as the accounts database (accounts DB) and block store, Cineca has achieved significant performance improvements over the existing Solana validator client, setting the stage for a more responsive and efficient blockchain ecosystem.
Key Points:
Understanding Solana as a Database
Drew Nutter began by framing Solana as a database, emphasizing its role in storing, distributing, and allowing changes to information. This perspective helps explain why Solana is so crucial for building trustworthy and efficient information systems that can serve as the backbone for various societal functions.
Solana's database functionality is divided into two main components: accounts, which represent the current state of information, and transactions, which record how that information changes over time. This structure allows Solana to maintain a comprehensive and up-to-date record of all on-chain activity.
Innovative Accounts DB Implementation
The accounts DB in Sig is a critical component responsible for storing and retrieving account information. Cineca has implemented several optimizations to enhance its performance:
-
Efficient snapshot handling: Instead of processing all historical transactions, Sig uses snapshots to quickly initialize the accounts DB, significantly reducing startup time.
-
Advanced indexing: An account index is used to rapidly locate specific accounts within the database, employing a hashmap-like structure for fast lookups.
-
Performance optimizations: The team has focused on reducing memory allocations, using linked lists for memory recycling, and implementing a custom hashmap inspired by Google's SwissTable for improved speed.
These improvements have resulted in read operations that are 1.5 to 4 times faster than the existing Solana validator client, with write operations seeing improvements of 1.1 to 6 times faster.
Revolutionary Block Store Design
Sig's block store, responsible for managing the ledger of transactions, has been completely reimagined. Key features include:
-
Support for multiple database backends, including RocksDB and a custom hashmap implementation, with plans to experiment with other options like LMDB.
-
Efficient handling of shreds, the smaller units that make up Solana blocks, including implementation of reed-solomon erasure coding for data recovery.
-
Streamlined processes for block and transaction retrieval, reconstructing complete blocks from constituent shreds.
The flexibility in database backend selection allows for future optimization and performance tuning based on specific use cases and hardware configurations.
Shred Collector and Network Integration
The shred collector component in Sig is responsible for receiving and processing shreds from the Solana network. This critical piece integrates with Solana's turbine block propagation system, ensuring that the validator stays in sync with the latest network state.
By efficiently handling incoming shreds and updating the local databases, Sig maintains an up-to-date view of the blockchain, enabling faster and more reliable responses to user queries.
Facts + Figures
- Cineca is developing Sig, a read-optimized Solana validator client to address slot lag issues.
- Sig's accounts DB read operations are 1.5 to 4 times faster than the existing Solana validator client.
- Write operations in Sig's accounts DB are 1.1 to 6 times faster than the current implementation.
- Cineca has implemented a geyser interface with Linux pipes that exceeds 38 gigabits per second on consumer hardware.
- The block store in Sig supports multiple database backends, including RocksDB and a custom hashmap implementation.
- Sig is being developed entirely in the open on GitHub, encouraging community contributions.
- The shred collector in Sig integrates with Solana's turbine block propagation system for efficient network synchronization.
- Cineca plans to work on implementing SVM, RPC, consensus, and block production features in the near future.
Top quotes
-
"At Cineca, we're focused on user experience. And we're going to improve that by solving slot lag with a new and faster Solana validator client building from scratch with a focus on reads per second."
-
"Solana actually is a database. Because of that, it can serve as the backbone of all of society's information systems."
-
"Our optimizations have paid off. Our rate performance is our main focus. And for that, we're seeing the account index is performing between 1.5 times to as much as four times faster for rate operations compared to agave."
-
"Decentralized networks like Solana work best when the community contributes together as a whole. And so that's why we're developing this completely out in the open on GitHub."
Questions Answered
What is Sig and why is Cineca developing it?
Sig is a new read-optimized Solana validator client being developed by Cineca to address the issue of slot lag in the Solana network. Slot lag occurs when RPC nodes struggle to keep up with the latest chain data, causing delays and errors in user interactions with dApps. By focusing on maximizing reads per second, Sig aims to eliminate this problem and improve overall user experience on the Solana blockchain.
How does Sig improve upon the existing Solana validator client?
Sig improves upon the existing Solana validator client in several ways. Its accounts DB implementation achieves read operations that are 1.5 to 4 times faster, and write operations that are 1.1 to 6 times faster than the current client. Additionally, Sig features a redesigned block store with support for multiple database backends, and a more efficient shred collector for better network integration. These improvements collectively contribute to a more responsive and efficient validator client.
What are the key components of Sig's architecture?
The key components of Sig's architecture include the accounts DB, which handles account storage and retrieval, the block store for managing the ledger of transactions, and the shred collector for processing incoming data from the Solana network. Each of these components has been optimized for performance, with innovative approaches to indexing, memory management, and data handling.
How does Sig's implementation of the accounts DB differ from the current Solana client?
Sig's accounts DB implementation differs from the current Solana client in several ways. It uses an advanced indexing system for faster account lookups, employs linked lists for efficient memory recycling, and utilizes a custom hashmap inspired by Google's SwissTable for improved speed. These optimizations result in significantly faster read and write operations compared to the existing client.
What benefits does Sig bring to the Solana ecosystem?
Sig brings several benefits to the Solana ecosystem. By addressing slot lag, it improves the user experience for dApp interactions. The introduction of a new validator client also enhances Solana's fault tolerance through increased client diversity. Furthermore, Sig's focus on code readability and open-source development strengthens the developer community around Solana, potentially leading to more innovations and improvements in the future.
On this page
- Summary
- Key Points:
- Facts + Figures
- Top quotes
-
Questions Answered
- What is Sig and why is Cineca developing it?
- How does Sig improve upon the existing Solana validator client?
- What are the key components of Sig's architecture?
- How does Sig's implementation of the accounts DB differ from the current Solana client?
- What benefits does Sig bring to the Solana ecosystem?
Related Content
Building Sig, a New Read-Optimized Solana Validator
A look into SIG, the new read-optimized Solana validator aiming to improve blockchain performance and decentralization.
Rethinking Solana's Validator Client Paradigm w/ Ahmad Abbasi (Syndica)
Discover how Syndica's SIG, a new Solana validator client built in Zig, is set to revolutionize RPC infrastructure and make running validator nodes more accessible.
Breakpoint 2024: Product Keynote: Data Transfers at the Speed of Light
David Rhodus introduces Pipe Network, a revolutionary content delivery system for Solana
Unpacking Solana's Total Economic Value | Dan Smith
Dive into Solana's economic landscape with Dan Smith: MEV extraction on L2s, validator revenue streams, and the future of NFTs in the ecosystem.
Breakpoint 2023: Firedancer Update
An introduction to Firedancer, a new high-performance validator for the Solana blockchain, aimed at enhancing network speed and reliability.
Breakpoint 2023: Open Source Endeavors on Solana
Explore the significance of open-source development and its impact on the Solana blockchain ecosystem, as discussed by Rex from Magic Eden.
Breakpoint 2024: Product Keynote: In the Blink of an Eye
Chris Osborn introduces Blinks, a revolutionary technology changing how we interact with the internet
Solana Changelog - April 9 - Flare and GetEpochStake
Discover the latest Solana upgrades including GetEpochStake, improved indexing, and the Flare CLI tool. Learn how these changes enhance performance and developer experience on Solana.
Breakpoint 2024: Product Keynote: Kamino (Marius C.)
Kamino announces major upgrades and expansion plans for its DeFi protocol on Solana
Solana Changelog - April 16 - Vote Instructions, Bank Forwarding, QoS
Discover the latest Solana upgrades including vote instruction deprecation, bank forwarding filters, and QoS enhancements for improved network performance and developer experience.
Web3 Domains on Solana with AllDomains - Solfate Podcast #52
Discover how AllDomains is transforming the domain landscape on Solana, offering innovative solutions like tokenized web2 domains and emoji domains.
Breakpoint 2023: Tokenomics, Market Making, & Strategies to Optimize Token Performance
Shane Molidor discusses strategies for optimal token performance within the cryptocurrency sector.
Breakpoint 2024: Debate: The Solana Foundation Should Be Dissolved
A thought-provoking debate on the future of the Solana Foundation at Breakpoint 2024
Solana's Watershed Moment | Zeta Markets, Meteora, Hubble Protocol
Explore Solana's recent partnerships, improved developer experience, and the future of DeFi 2.0 with insights from leading Solana DeFi founders.
Breakpoint 2024: Product Keynote: Travala (Juan Otero)
Travala announces integration with Solana and introduces Open Loyalty program for the Solana ecosystem
- Our Validator
- Borrow / Lend
- Liquidity Pools
- Token Swaps & Trading
- Yield Farming
- Solana Explained
- Is Solana an Ethereum killer?
- Transaction Fees
- Why Is Solana Going Up?
- Solana's History
- What makes Solana Unique?
- What Is Solana?
- How To Buy Solana
- Solana's Best Projects: Dapps, Defi & NFTs
- Choosing The Best Solana Validator
- Staking Rewards Calculator
- Liquid Staking
- Can You Mine Solana?
- Solana Staking Pools
- Staking On Solana
- How To Unstake Solana
- How To Unstake Solana
- How validators earn
- Best Wallets For Solana