We announced a new product!

Solana Tech Roundup #6

by Jacob Creech ยท February 25, 2022

Solana Tech Roundup

If you're a Solana developer like me, you may find it difficult to keep up with the latest updates to the Solana repository. This is because the Solana repository is a large and complex project with many contributors constantly adding new features and bug fixes. There's just so much content to read and digest.

This week's roundup is a summary of the most recent commits to the Solana repository.

Proposal Highlight

Optimize RocksDB Compaction for Solana BlockStore

Documentation

Solana uses RocksDB as the underlying storage for its blockstore. To make reads more performant over time, RocksDB reduces the number of compaction in the background, which increases write and space.

Today blockstore stores shred data, metadata, accounts and transactional data in RocksDB. Each type of data has different usage, but the same compaction throughout.

The proposal is to change the compaction config for each type of data, lowering the amount I/Os costing the RocksDB. Initial testing shows that these new compaction methods will increase insertions 2.25x faster than the current solution.

Commit Highlight

With this change, the max compute cost for a transaction has been upgraded from 200k to 1.4m CU. Fees are changes to be based on each signature and amount of compute.

List of Changes:

February 18

February 19

February 20

February 21

February 22

February 23

February 24