Database / RocksDB Basics Interview Questions
What is RocksDB?
RocksDB is a high-performance, embedded key-value store, a storage engine library that applications link directly into their own process, developed by Facebook (Meta) and optimized for fast storage like SSDs and RAM.
- Written in C++, and built on a log-structured merge-tree (LSM-tree)
- Runs inside the calling application's process rather than as a separate database server
- Optimized for high write throughput while keeping reads reasonably efficient
Because it's embeddable rather than a standalone server, RocksDB is commonly used as the storage layer inside larger databases and systems, rather than being the end-user-facing database itself.
More Related questions...