Redis vs RocksDB: What are the differences?
Developers describe Redis as "An in-memory database that persists on disk". Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. 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.
Redis belongs to "In-Memory Databases" category of the tech stack, while RocksDB can be primarily classified under "Databases".
"Performance" is the primary reason why developers consider Redis over the competitors, whereas "Very fast" was stated as the key factor in picking RocksDB.
Redis and RocksDB are both open source tools. Redis with 37.4K GitHub stars and 14.4K forks on GitHub appears to be more popular than RocksDB with 14.3K GitHub stars and 3.12K GitHub forks.
According to the StackShare community, Redis has a broader approval, being mentioned in 3261 company stacks & 1782 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 Redis?
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