Cassandra vs RocksDB: What are the differences?
Developers describe Cassandra as "A partitioned row store. Rows are organized into tables with a required primary key". Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL. On the other hand, RocksDB is detailed as "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.
Cassandra and RocksDB can be categorized as "Databases" tools.
"Distributed" is the primary reason why developers consider Cassandra over the competitors, whereas "Very fast" was stated as the key factor in picking RocksDB.
Cassandra and RocksDB are both open source tools. It seems that RocksDB with 14.3K GitHub stars and 3.12K forks on GitHub has more adoption than Cassandra with 5.27K GitHub stars and 2.35K GitHub forks.
According to the StackShare community, Cassandra has a broader approval, being mentioned in 342 company stacks & 239 developers stacks; compared to RocksDB, which is listed in 6 company stacks and 7 developer stacks.
Sign up to add or upvote prosMake informed product decisions
Sign up to add or upvote consMake informed product decisions
What is Cassandra?
What is RocksDB?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions