TrustRadius: an HG Insights company

What is RocksDB?

RocksDB is an embeddable persistent key-value storage engine written in C++. It stores arbitrary byte-array keys and values in sorted order, supporting direct key lookups, batched retrieval, forward and reverse range scans, and application-defined key ordering. RocksDB uses a log-structured merge-tree (LSM-tree) architecture optimized for solid-state drives (SSDs), flash storage, and other storage environments with high read and write rates. Its capabilities include column families, atomic write batches, point-in-time snapshots, iterators, configurable write-ahead logging, data compression, merge operations, and several compaction strategies. Developers can tune memory use, caching, indexing, durability, and background compaction behavior for different workloads. RocksDB is distributed as a library rather than a standalone database server and can be incorporated into applications, caching systems, and other database products through C++ and Java interfaces.

Read more details.