Author: Wu Tianyi, DeThings
On January 8, CoinDesk reported that Solana is stepping up testing of Firedancer, a highly anticipated software upgrade that is expected to significantly increase the processing speed of the blockchain.
According to messages in the Solana technical Discord server, by the end of this week, Solana's core developers hope that the "vast majority" of processing power on the chain's low-risk test network will be able to run through Frankendancer, an early version of Firedancer. And called on Solana validators (that is, people who run the computers that power the network) to take action. The upgrade has been in preparation since 2022, when the chain often failed, and the upgrade is seen as a boost to Solana's stability and speed.
The fastest blockchain in history is about to be born?
Firedancer’s backers believe that the software, developed by the cryptocurrency division of trading giant Jump, will give Solana an unrivaled advantage in the race for cryptocurrencies to attract global financial markets to the blockchain. They point to its theoretical speed of 1 million transactions per second, which is several orders of magnitude faster than any blockchain-based system today.
As Solana’s new validator client, led by the Jump Crypto team, it is fundamentally committed to improving the throughput and security of the Solana network. As early as 2022, Firedancer began its development plan, which is in stark contrast to Solana’s existing Rust language client (Agave). Firedancer was redesigned in C and C++, a decision that greatly reduced the probability of system crashes due to problems such as memory leaks, making it more stable than existing clients.
In its early stages, the development of Firedancer faced many challenges. For example, due to the complexity of the new software, validators found many defects during testing, which made many validators cautious about it.
Firedancer itself has not yet set a release date. At present, Jump Crypto has only launched Frankendancer, which is a hybrid that combines elements of Firedancer and Solana's main client architecture. Before this week, only a small number of validators adopted Frankendancer; many told CoinDesk that they found it to be buggy and prone to crashing.
"It was very difficult to keep this project running, but we did it," said Kollen House, a long-time member of the Solana validator community. He believes that the new move to promote wider adoption of Frankendancer is a sign of the "maturity" of the software.
Firedancer Technical Innovation
Compared with the existing Solana client, Firedancer brings several important technical innovations, especially in high-performance computing and parallel processing. Firedancer's architecture consists of three core components: a high-performance computing stack, a network stack, a runtime, and a consensus mechanism. These innovations have greatly improved the throughput of the Solana network, theoretically reaching more than 1 million transactions per second, far exceeding the throughput limit of existing systems.
Parallelism and Efficient Computing
Firedancer's design relies on a high-concurrency computing model, where each verification node performs different tasks such as transaction verification, block packaging, and data processing through multiple independent threads. This parallel processing allows the system to allocate computing resources more efficiently, maximize throughput, and increase processing speed. Each thread focuses on a task and has a dedicated CPU core, which avoids waste of resources.
Tiles Architecture
Firedancer introduces an innovative tile architecture (tiles), where each tile corresponds to a specific task and is bound to a specific thread and CPU core. This flexible architecture allows different types of tasks to flexibly allocate resources according to actual needs. For example, the network stack (net) and QUIC protocol tiles are extremely fast and can handle more than 1 million transactions per second, while the transaction verification (verify) and bank operation (bank) tiles focus on the secure verification and execution of transactions. Although their throughput is lower, they can handle high-concurrency transaction requests.
Efficient consensus and network transmission mechanism
Firedancer's consensus mechanism reduces the latency of transaction verification and improves the responsiveness of the entire system by optimizing network data flow and distributed processing. This enables the Solana network to maintain its efficient operation during high concurrency and load surges, avoiding system crashes caused by single point failures.
Firedancer's Impact on Solana
Breakthrough Throughput
One of the biggest highlights of Firedancer is its improved performance. According to the development team, Firedancer is able to process more than 1 million transactions per second, far exceeding Solana's current theoretical limit of 50,000 TPS. This performance has greatly improved the competitiveness of the Solana blockchain in the global financial market and provided a more powerful infrastructure for future DeFi and Web3 applications. For reference, traditional financial payment systems such as Visa usually have a transaction throughput of only tens of thousands per second. Firedancer's performance will undoubtedly make Solana stand out from these competitors and become a leader in future blockchain payments.
Enhance Network Stability and Security
In addition to performance improvements, Firedancer has also greatly enhanced the security of the Solana network. By introducing a new client that is compatible with existing systems, Firedancer not only enhances the decentralization of the Solana network, but also further reduces the risk of network crashes due to single client failures. Unlike the original Rust client, Firedancer is written in C and C++, which not only effectively avoids downtime caused by problems such as memory leaks, but also minimizes the impact when failures occur.
Reduces the complexity of network upgrades
The introduction of Firedancer also provides a new solution for upgrading the Solana network. In previous versions, Solana had to rely on fewer clients for network updates and maintenance, and this single point of dependence often led to technical difficulties during the upgrade process. With the addition of Firedancer, Solana now has more client options, making network upgrades more flexible and efficient. In addition, Firedancer is compatible with existing protocols, ensuring a smooth transition of the ecosystem without major adjustments for DApp developers and users.