RocksDB

RocksDB
Original author(s)Dhruba Borthakur
Developer(s)Meta Platforms (was Facebook, Inc.)
Initial releaseMay 2012; 12 years ago (2012-05)
Stable release
9.7.3[1] Edit this on Wikidata / 16 October 2024
Repository
Written inC++
Operating systemWindows, macOS, Linux, FreeBSD, OpenBSD, Solaris, AIX
PlatformCross-platform
TypeEmbedded database
LicenseApache 2.0 or GPL 2
Websiterocksdb.org

RocksDB is a high performance[2][3][4][5][6] 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.[7][8][9] However, in July 2017 the project was migrated to a dual license of both Apache 2.0 and GPLv2 license.[10] This change helped its adoption in Apache Software Foundation's projects after blacklist of the previous BSD+Patents license clause.[11][12]

RocksDB is used in production systems at various web-scale enterprises[13] including Facebook, Yahoo!,[14] and LinkedIn.[15]

  1. ^ . 16 October 2024 https://github.com/facebook/rocksdb/releases/tag/v9.7.3. Retrieved 16 October 2024. {{cite web}}: Missing or empty |title= (help)
  2. ^ "Performance Benchmarks". GitHub. Retrieved November 29, 2015.
  3. ^ "Benchmarking the leveldb family". 7 July 2014. Retrieved March 10, 2016.
  4. ^ "Comparing LevelDB and RocksDB, take 2". 27 April 2015. Retrieved March 10, 2016.
  5. ^ "Benchmarking LevelDB vs. RocksDB vs. HyperLevelDB vs. LMDB Performance for InfluxDB". 20 June 2014. Retrieved March 10, 2016.
  6. ^ Golan-Gueta, Guy; Bortnikov, Edward; Hillel, Eschar; Keidar, Idit (April 21, 2015). "Scaling concurrent log-structured data stores". Proceedings of the Tenth European Conference on Computer Systems. pp. 1–14. doi:10.1145/2741948.2741973. ISBN 9781450332385. S2CID 5849146.
  7. ^ "Facebook's latest open source effort: a flash-powered database called RocksDB". 21 November 2013. Archived from the original on 24 February 2020. Retrieved March 10, 2016.
  8. ^ "Under the Hood: Building and open-sourcing RocksDB". Facebook. Retrieved March 10, 2016.
  9. ^ "RocksDB - Facebook's Database Now Open Source". Retrieved March 10, 2016.
  10. ^ "GitHub pull request". GitHub. Retrieved July 20, 2017.
  11. ^ "Apache says 'no' to Facebook code libraries". The Register. Retrieved July 20, 2017.
  12. ^ "GitHub issue". GitHub. Retrieved July 20, 2017.
  13. ^ "Users.md". GitHub. Retrieved December 1, 2015.
  14. ^ "RocksDB on Steroids". Retrieved March 10, 2016.
  15. ^ "Benchmarking Apache Samza: 1.2 million messages per second on a single node". Retrieved March 10, 2016.