RocksDB
| RocksDB | |
|---|---|
| Original author(s) | Dhruba Borthakur |
| Developer(s) | Meta Platforms (was Facebook, Inc.) |
| Initial release | May 2012 |
| Stable release | 10.2.1
/ 24 April 2025 |
| Repository | |
| Written in | C++ |
| Operating system | Windows, macOS, Linux, FreeBSD, OpenBSD, Solaris, AIX |
| Platform | Cross-platform |
| Type | Embedded database |
| License | Apache 2.0 or GPL 2 |
| Website | rocksdb |
RocksDB is a high performance embedded database for key-value data. It is a fork of Google's LevelDB optimized to exploit multi-core processors (CPUs), and make efficient use of fast storage, such as solid-state drives (SSD), for input/output (I/O) bound workloads. It is based on a log-structured merge-tree (LSM tree) data structure. It is written in C++ and provides official language bindings for C++, C, and Java. Many third-party language bindings exist. RocksDB is free and open-source software, released originally under a BSD 3-clause license. However, in July 2017 the project was migrated to a dual license of both Apache 2.0 and GPLv2 license. This change helped its adoption in Apache Software Foundation's projects after blacklist of the previous BSD+Patents license clause.
RocksDB is used in production systems at various web-scale enterprises including Facebook, Yahoo!, and LinkedIn.