RethinkDB vs RocksDB: What are the differences?
What is RethinkDB? JSON. Scales to multiple machines with very little effort. Open source. RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.
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.
RethinkDB and RocksDB can be categorized as "Databases" tools.
Some of the features offered by RethinkDB are:
- JSON data model and immediate consistency.
- Distributed joins, subqueries, aggregation, atomic updates.
- Secondary, compound, and arbitrarily computed indexes.
On the other hand, RocksDB provides the following key features:
- Designed for application servers wanting to store up to a few terabytes of data on locally attached Flash drives or in RAM
- Optimized for storing small to medium size key-values on fast storage -- flash devices or in-memory
- Scales linearly with number of CPUs so that it works well on ARM processors
"Powerful query language" is the top reason why over 46 developers like RethinkDB, while over 2 developers mention "Very fast" as the leading cause for choosing RocksDB.
RethinkDB and RocksDB are both open source tools. It seems that RethinkDB with 22.4K GitHub stars and 1.74K forks on GitHub has more adoption than RocksDB with 14.3K GitHub stars and 3.12K GitHub forks.
According to the StackShare community, RethinkDB has a broader approval, being mentioned in 37 company stacks & 25 developers stacks; compared to RocksDB, which is listed in 6 company stacks and 7 developer stacks.
What is RethinkDB?
What is RocksDB?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using RethinkDB?
What are the cons of using RocksDB?
Sign up to get full access to all the companiesMake informed product decisions
High-speed update-aware storage used in our region server infrastructure; provides a good middle layer for storage of rapidly modified information.
Main database, using it in multiple datacenters in an active-active configuration.