Liquid Stake with compassSOL for an 8.04% 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.6% APY staking with Solana Compass
Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.6% 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.6% APY staking with Solana Compass
Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.6% APY yield on your SOL, while supporting us to create new guides and tools.
Rethinking Solana's Validator Client Paradigm w/ Ahmad Abbasi (Syndica)
By Validated
Published on 2024-03-26
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.
Syndica's SIG: Revolutionizing Solana's Validator Client Paradigm
In a groundbreaking move for the Solana ecosystem, Syndica has announced the development of SIG, a new validator client built from the ground up using the Zig programming language. This innovative project aims to address critical challenges in Solana's infrastructure, particularly in the realm of RPC (Remote Procedure Call) optimization. In this article, we'll dive deep into the motivations behind SIG, its potential impact on the Solana network, and the unique advantages it brings to the table.
The Genesis of SIG
SIG's story begins in late 2021 when Ahmad Abbasi, a key figure at Syndica, started exploring Zig as an alternative to more established systems programming languages like C, C++, and Rust. Abbasi was drawn to Zig's focus on simplicity, minimal abstractions, and efficient memory allocation - all crucial factors in systems engineering.
Initially, the team at Syndica built a basic RPC client using Zig, which garnered significant interest from the community. This positive reception, coupled with the growing need for client diversity in the Solana ecosystem, led Syndica to embark on the ambitious project of creating a full validator client in May 2023.
The Need for a New Validator Client
Syndica's decision to develop SIG was driven by several key factors:
-
Client Diversity: Having multiple implementations of the validator software enhances the overall security and resilience of the Solana network.
-
RPC Optimization: The existing Rust-based Solana validator client wasn't specifically optimized for RPC operations, which are crucial for Syndica's core business as an RPC provider.
-
Scalability Challenges: Continuously scaling the number of validators to meet RPC demand was becoming inefficient and costly.
-
Ecosystem Growth: By creating an open-source client, Syndica aims to contribute to the growth of the entire Solana ecosystem.
SIG's Unique Approach to Optimization
SIG takes a fundamentally different approach to optimization compared to existing Solana validator clients. While the current implementations focus primarily on write operations, SIG is designed with read operations in mind. This shift in focus is crucial, as read operations significantly outnumber write operations in typical blockchain usage scenarios.
Ahmad Abbasi explains the rationale behind this approach:
"For every write or send transaction call that occurs, there are about 25X more read calls required to accomplish that. This is mainly because the Solana network has state distributed in different accounts, unlike Ethereum where a contract holds all the state within itself."
The Technical Edge of SIG
SIG's design philosophy is rooted in viewing Solana's architecture through a unique lens. Abbasi describes their approach:
"Accounts to me are like heap memory inside a computer, and transactions are what I internally call CMPs - cryptographically secured network packets."
This perspective allows the Syndica team to optimize SIG in ways that significantly boost performance:
-
Cache Optimization: By focusing on reducing cache misses, SIG aims to maximize the efficiency of read operations.
-
CPU Cycle Reduction: The team is meticulously working to minimize the number of CPU cycles required for various operations.
-
Internal Sharding: SIG employs a math-based sharding mechanism to efficiently distribute account state across CPU cores.
These optimizations have already shown promising results. Initial benchmarks indicate a 50-70% increase in performance compared to the Rust client, both for read and write operations.
Making Solana More Accessible
One of the key goals of the SIG project is to make running a Solana validator more accessible to a wider range of users. This includes potentially enabling home users with fiber internet connections to run non-voting or even voting validators.
Abbasi shares an exciting development in this direction:
"We actually were successfully able to deserialize a Solana Mingnet snapshot and build account indexes, the primary indexes under 32 gigs of RAM."
This achievement opens up the possibility of running Solana validators on more modest hardware configurations, potentially including desktop computers with around 12 cores.
The Power of Zig
The choice of Zig as the programming language for SIG is a crucial aspect of the project. Zig offers several advantages that make it well-suited for systems programming and blockchain infrastructure:
-
Explicit Control Flow: Zig code is highly readable, with no hidden control flow, making it easier for developers to understand and maintain.
-
Memory Management: Zig provides explicit control over memory allocation, forcing developers to think carefully about memory usage.
-
C Compatibility: Zig code is compatible with C, allowing for seamless integration with existing systems.
-
Simplicity: The language is designed to be straightforward, potentially allowing developers to become proficient in a relatively short time.
Abbasi emphasizes the importance of Zig's approach to memory allocation:
"With anything that you do that allocates memory, you have to pass it an allocator and you have to also think through the allocator, what kind of allocator am I going to use?"
This level of control allows for fine-tuned optimization, which is crucial for high-performance systems like blockchain validators.
Implications for the Solana Ecosystem
The development of SIG has far-reaching implications for the Solana ecosystem:
-
Enhanced Performance: By optimizing for read operations, SIG could significantly improve the overall performance of the Solana network, particularly for dApps and services that rely heavily on querying blockchain state.
-
Increased Decentralization: If SIG succeeds in making validator operation more accessible, it could lead to a more diverse and decentralized network of validators.
-
Developer Accessibility: The creation of a more readable and accessible validator implementation could lower the barrier for developers wanting to contribute to Solana's core infrastructure.
-
Ecosystem Growth: As an open-source project, SIG could spur innovation and collaboration within the Solana community, potentially leading to further improvements and derivative projects.
Challenges and Considerations
While the potential benefits of SIG are significant, there are also challenges and considerations to keep in mind:
-
Safety Concerns: Abbasi notes that while Zig offers more control, it may not have the same level of built-in safety features as Rust. This is particularly important for on-chain programs.
-
Adoption Hurdles: As with any new technology, SIG will need to prove its reliability and performance in real-world scenarios to gain widespread adoption.
-
Maintaining Compatibility: Ensuring that SIG remains compatible with the broader Solana ecosystem as both evolve will be an ongoing challenge.
-
Resource Allocation: For Syndica, balancing the development of SIG with their core RPC business will require careful resource management.
The Future of SIG and Solana
The development of SIG represents a significant step forward in the maturation of the Solana ecosystem. By providing an alternative validator implementation, SIG not only enhances the network's resilience but also pushes the boundaries of what's possible in terms of performance and accessibility.
Abbasi's vision for the future of Solana includes making the network more accessible both in terms of code readability and hardware requirements:
"I think the end state for Solana, it needs to also include the accessibility, not just in terms of being able to read code and contribute back to it, but also being able to run it."
As SIG continues to develop, it has the potential to play a crucial role in realizing this vision, potentially opening up new possibilities for Solana's growth and adoption.
Conclusion
Syndica's SIG project represents a bold and innovative approach to addressing some of the key challenges facing the Solana ecosystem. By rethinking the validator client paradigm and leveraging the unique strengths of the Zig programming language, SIG has the potential to significantly enhance Solana's performance, accessibility, and decentralization.
As the project progresses, it will be fascinating to see how SIG evolves and what impact it has on the broader Solana ecosystem. Whether you're a developer, validator operator, or simply a Solana enthusiast, the SIG project is definitely one to watch in the coming months and years.
Facts + Figures
• Syndica announced the development of SIG, a new Solana validator client built in the Zig programming language.
• SIG development started in May 2023, during the depths of the crypto bear market.
• Initial benchmarks show SIG has increased performance by 50-70% compared to the Rust client, for both reads and writes.
• The Solana network routinely runs at 5,000 to 7,000 transactions per second.
• For every write/send transaction on Solana, there are about 25x more read calls required.
• Some RPC calls in the current Rust client were as slow as 60 calls per second for certain operations.
• SIG was able to deserialize a Solana Mingnet snapshot and build account indexes under 32GB of RAM.
• Syndica aims to make it possible to run a Solana validator on commodity hardware or a desktop with around 12 cores.
• The project is open-source and available on Syndica's GitHub repository.
• Zig code is C compatible, allowing for seamless integration with existing systems.
• A kernel call in computing operations can be 1000x slower than a simple add instruction in terms of CPU cycles.
• Syndica's blog at blog.syndica.io provides detailed technical posts about SIG and related topics.
Questions Answered
What is SIG and why is it significant for Solana?
SIG is a new Solana validator client being developed by Syndica using the Zig programming language. It's significant because it's designed to be read-optimized, addressing a critical need in the Solana ecosystem for more efficient RPC (Remote Procedure Call) operations. This could potentially improve the overall performance and scalability of the Solana network, especially for applications that rely heavily on reading blockchain state.
How does SIG differ from existing Solana validator clients?
SIG differs from existing Solana validator clients in several key ways. Firstly, it's built using Zig instead of Rust or C, which offers different performance characteristics and development paradigms. Secondly, SIG is specifically optimized for read operations, whereas current clients are more focused on write optimization. This shift in focus could lead to significant performance improvements for many types of blockchain operations.
What advantages does the Zig programming language offer for this project?
Zig offers several advantages for the SIG project. It provides explicit control over memory allocation, forcing developers to think carefully about resource usage. Zig also has no hidden control flow, making the code more readable and maintainable. Additionally, Zig is C-compatible, allowing for easy integration with existing systems. These features make Zig well-suited for systems programming and high-performance applications like blockchain validators.
How might SIG impact the accessibility of running a Solana validator?
SIG has the potential to make running a Solana validator more accessible by reducing the hardware requirements. The Syndica team has already demonstrated the ability to deserialize a Solana Mingnet snapshot and build account indexes under 32GB of RAM. This could potentially allow users with more modest hardware setups, such as desktop computers with around 12 cores, to run non-voting or even voting validators. This increased accessibility could lead to greater decentralization of the Solana network.
What challenges does the SIG project face?
The SIG project faces several challenges. One is ensuring that the increased control offered by Zig doesn't come at the cost of safety, particularly for on-chain programs. Another challenge is gaining adoption and proving its reliability in real-world scenarios. Additionally, maintaining compatibility with the broader Solana ecosystem as both SIG and Solana evolve will be an ongoing challenge. Finally, Syndica must balance the development of SIG with their core RPC business, requiring careful resource management.
How does SIG aim to improve RPC performance?
SIG aims to improve RPC performance through several optimization strategies. These include reducing cache misses, minimizing CPU cycles for various operations, and employing a math-based internal sharding mechanism to efficiently distribute account state across CPU cores. By focusing on these areas, SIG has already shown promising results in initial benchmarks, with a 50-70% increase in performance compared to the Rust client for both read and write operations.
Why did Syndica decide to make SIG open-source?
Syndica decided to make SIG open-source for several reasons. They believe that by contributing to the growth of the entire Solana ecosystem, they can help "grow the pie" rather than just competing for a larger slice. Open-sourcing also allows for community contributions and scrutiny, potentially leading to a more robust and widely adopted solution. Additionally, Syndica views the knowledge gained from building SIG as valuable for developing future products and features.
How might SIG impact the future development of Solana?
SIG could have a significant impact on Solana's future development. By providing an alternative validator implementation, it enhances the network's resilience and pushes the boundaries of performance and accessibility. This could lead to new possibilities for Solana's growth and adoption. Furthermore, SIG's more readable and accessible codebase could lower the barrier for developers wanting to contribute to Solana's core infrastructure, potentially accelerating innovation in the ecosystem.
On this page
- The Genesis of SIG
- The Need for a New Validator Client
- SIG's Unique Approach to Optimization
- The Technical Edge of SIG
- Making Solana More Accessible
- The Power of Zig
- Implications for the Solana Ecosystem
- Challenges and Considerations
- The Future of SIG and Solana
- Conclusion
- Facts + Figures
-
Questions Answered
- What is SIG and why is it significant for Solana?
- How does SIG differ from existing Solana validator clients?
- What advantages does the Zig programming language offer for this project?
- How might SIG impact the accessibility of running a Solana validator?
- What challenges does the SIG project face?
- How does SIG aim to improve RPC performance?
- Why did Syndica decide to make SIG open-source?
- How might SIG impact the future development of Solana?
Related Content
Unveiling Solana's Validator Landscape with Gui from Latitude
Discover the intricacies of Solana's validator ecosystem, bare metal infrastructure, and the future of blockchain performance with Gui from Latitude.
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.
Wtf is StakeNet with Architect Evan | ep. 18
Discover how Jito's StakeNet is transforming Liquid Staking Tokens on Solana, enhancing decentralization and transparency in validator selection and stake delegation.
How Ore Broke Solana | Hardhat Chad
Discover how Ore, a groundbreaking proof-of-work token on Solana, aims to solve fair launch problems and revolutionize token distribution in crypto.
How Phantom Became Solana's Largest Wallet | Brandon Millman & Donnie Dinch
Discover how Phantom became Solana's leading wallet, its recent Bitski acquisition, and plans for revolutionizing user onboarding in crypto
Sports Betting Built On Solana | Nigel Eccles & Varun Sudhakar
Discover how BetDEX is transforming sports betting with blockchain technology, offering competitive odds and solving key industry issues on Solana.
Nautilus: The New Solana Developer Framework (feat. Joe C) - Solfate Podcast #19
Discover how Nautilus, a new Rust-based Solana developer framework, is set to revolutionize DApp creation with its intuitive design and powerful features.
xNFTs and Solana Phone ft. Armani Ferrante
Discover how xNFTs and the Solana Phone are revolutionizing Web3 mobile experiences with Coral founder Armani Ferrante.
Breakpoint 2023: Is DePIN the Catalyst for Widespread Adoption of Web3?
Michael Sothan discusses the potential of decentralized physical infrastructure networks (DePIN) in revolutionizing Web3.
Breakpoint 2023: Social Media on Solana
An in-depth look at the evolving landscape of social media on the Solana blockchain from the perspectives of key industry players.
Leading Solana's DePin Future | Amir Haleem
Discover how Helium Mobile is disrupting the telecom industry using Solana blockchain and crypto incentives to build decentralized wireless networks.
Mining ORE on Solana with proof-of-work tokens (feat. HardhatChad)
Discover how ORE is bringing Bitcoin-like mining to Solana, democratizing access and reshaping liquidity in the ecosystem
Can Seeker Unlock Solana's True Potential? | Ian Unsworth
Discover how Solana's new Seeker phone could revolutionize mobile crypto adoption and unlock new potential for blockchain gaming and DeFi
How Firedancer Will Unlock Solana's Scaling Roadmap | Lucas Bruder, Liam Heeger
Discover how Firedancer, Solana's new validator client, aims to revolutionize blockchain performance and unlock unprecedented scalability for the network.
The Most Exciting Experiment In Crypto: Futarchy | Robin Hanson & Proph3t
Discover how Futarchy, implemented by MetaDAO on Solana, could revolutionize DAO governance through prediction markets and decision-making algorithms.
- 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