Software Alternatives & Reviews

RocksDB VS Redis

Compare RocksDB VS Redis and see what are their differences

RocksDB logo RocksDB

A persistent key-value store for fast storage environments

Redis logo Redis

Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.
  • RocksDB Landing page
    Landing page //
    2022-03-12
  • Redis Landing page
    Landing page //
    2022-10-19

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

RocksDB

Categories
  • Databases
  • NoSQL Databases
  • Key-Value Database
  • Relational Databases
Website rocksdb.org
Details $

Redis

Categories
  • Key-Value Database
  • NoSQL Databases
  • Databases
  • Graph Databases
Website redis.io
Details $

RocksDB videos

How Online Backup works in MyRocks and RocksDB

More videos:

  • Review - RocksDB Meetup 2020 at Rockset
  • Review - TokuDB vs RocksDB

Redis videos

What is Redis? | Why and When to use Redis? | Tech Primers

More videos:

  • Review - Redis Enterprise Overview with Yiftach Shoolman - Redis Labs
  • Review - Redis system design | Distributed cache System design
  • Review - What is Redis and What Does It Do?
  • Review - Redis Sorted Sets Explained

Category Popularity

0-100% (relative to RocksDB and Redis)
Databases
4 4%
96% 96
NoSQL Databases
3 3%
97% 97
Key-Value Database
3 3%
97% 97
Relational Databases
100 100%
0% 0

User comments

Share your experience with using RocksDB and Redis. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare RocksDB and Redis

RocksDB Reviews

We have no reviews of RocksDB yet.
Be the first one to post

Redis Reviews

Are Free, Open-Source Message Queues Right For You?
A notable challenge with Redis Streams is that it doesn't natively support distributed, horizontal scaling. Also, while Redis is famous for its speed and simplicity, managing and scaling a Redis installation may be complex for some users, particularly for persistent data workloads.
Source: blog.iron.io
Redis vs. KeyDB vs. Dragonfly vs. Skytable | Hacker News
1. Redis: I'll start with Redis which I'd like to call the "original" key/value store (after memcached) because it is the oldest and most widely used of all. Being a long-time follower of Redis, I do know it's single-threaded (and uses io-threads since 6.0) and hence it achieves lesser throughput than the other stores listed above which are multi-threaded, at least to some...
Memcached vs Redis - More Different Than You Would Expect
Remember when I wrote about how Redis was using malloc to assign memory? I lied. While Redis did use malloc at some point, these days Redis actually uses jemalloc. The reason for this is that jemalloc, while having lower peak performance has lower memory fragmentation helping to solve the framented memory issues that Redis experiences.
Top 15 Kafka Alternatives Popular In 2021
Redis is a known, open-source, in-memory data structure store that offers different data structures like lists, strings, hashes, sets, bitmaps, streams, geospatial indexes, etc. It is best utilized as a cache, memory broker, and cache. It has optional durability and inbuilt replication potential. It offers a great deal of availability through Redis Sentinel and Redis Cluster.
Comparing the new Redis6 multithreaded I/O to Elasticache & KeyDB
So there are 3 offerings by 3 companies, all compatible with eachother and based off open source Redis: Elasticache is offered as an optimized service offering of Redis; RedisLabs and Redis providing a core product and monetized offering, and KeyDB which remains a fast cutting edge (open source) superset of Redis. This blog looks specifically at performance, however there is...
Source: docs.keydb.dev

Social recommendations and mentions

Based on our record, Redis seems to be a lot more popular than RocksDB. While we know about 181 links to Redis, we've tracked only 11 mentions of RocksDB. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

RocksDB mentions (11)

  • How to choose the right type of database
    RocksDB: A high-performance embedded database optimized for multi-core CPUs and fast storage like SSDs. Its use of a log-structured merge-tree (LSM tree) makes it suitable for applications requiring high throughput and efficient storage, such as streaming data processing. - Source: dev.to / 29 days ago
  • Fast persistent recoverable log and key-value store
    [RocksDB](https://rocksdb.org/) isn’t a distributed storage system, fwiw. It’s an embedded KV engine similar to LevelDB, LMDB, or really sqlite (though that’s full SQL, not just KV). - Source: Hacker News / about 1 month ago
  • The Hallucinated Rows Incident
    To output the top 3 rocks, our engine has to first store all the rocks in some sorted way. To do this, we of course picked RocksDB, an embedded lexicographically sorted key-value store, which acts as the sorting operation's persistent state. In our RocksDB state, the diffs are keyed by the value of weight, and since RocksDB is sorted, our stored diffs are automatically sorted by their weight. - Source: dev.to / 4 months ago
  • In-memory vs. disk-based databases: Why do you need a larger than memory architecture?
    Memgraph uses RocksDB as a key-value store for extending the capabilities of the in-memory database. Not to go into too many details about RocksDB, but let’s just briefly mention that it is based on a data structure called Log-Structured Merge-Tree (LSMT) (instead of B-Trees, typically the default option in databases), which are saved on disk and because of the design come with a much smaller write amplification... - Source: dev.to / 7 months ago
  • Event streaming in .Net with Kafka
    Streamiz wrap a consumer, a producer, and execute the topology for each record consumed in the source topic. You can easily create stateless and stateful application. By default, each state store is a RocksDb state store persisted on disk. - Source: dev.to / over 1 year ago
View more

Redis mentions (181)

View more

What are some alternatives?

When comparing RocksDB and Redis, you can also consider the following products

memcached - High-performance, distributed memory object caching system

MongoDB - MongoDB (from "humongous") is a scalable, high-performance NoSQL database.

Amazon DynamoDB - Amazon DynamoDB is a fully managed NoSQL database service offered by Amazon.

ArangoDB - A distributed open-source database with a flexible data model for documents, graphs, and key-values.

Aerospike - Aerospike is a high-performing NoSQL database supporting high transaction volumes with low latency.

Apache Cassandra - The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance.