Need advice about which tool to choose?Ask the StackShare community!
LevelDB vs RocksDB: What are the differences?
What is LevelDB? *An open-source on-disk key-value store *. It is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. It has been ported to a variety of Unix-based systems, macOS, Windows, and Android.
What is RocksDB? Embeddable persistent key-value store for fast storage, developed and maintained by Facebook Database Engineering Team. RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads. RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores, to efficiently use fast storage, to support IO-bound, in-memory and write-once workloads, and to be flexible to allow for innovation.
LevelDB and RocksDB can be categorized as "Databases" tools.
LevelDB and RocksDB are both open source tools. It seems that LevelDB with 18.3K GitHub stars and 4.32K forks on GitHub has more adoption than RocksDB with 14.6K GitHub stars and 3.19K GitHub forks.
According to the StackShare community, RocksDB has a broader approval, being mentioned in 10 company stacks & 29 developers stacks; compared to LevelDB, which is listed in 5 company stacks and 3 developer stacks.
Pros of LevelDB
Pros of RocksDB
- Very fast5
- Made by Facebook3
- Consistent performance2
- Ability to add logic to the database layer where needed1