RocksDB logo

RocksDB

Embeddable persistent key-value store for fast storage, developed and maintained by Facebook Database Engineering Team

What is RocksDB?

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.
RocksDB is a tool in the Databases category of a tech stack.
RocksDB is an open source tool with 28.4K GitHub stars and 6.3K GitHub forks. Here’s a link to RocksDB's open source repository on GitHub

Who uses RocksDB?

Companies
16 companies reportedly use RocksDB in their tech stacks, including Facebook, LinkedIn, and Groww.

Developers
103 developers on StackShare have stated that they use RocksDB.

RocksDB Integrations

dbForge Studio for MySQL, Akutan, Crux, LedisDB, and FastoNoSQL are some of the popular tools that integrate with RocksDB. Here's a list of all 5 tools that integrate with RocksDB.
Pros of RocksDB
5
Very fast
3
Made by Facebook
2
Consistent performance
1
Ability to add logic to the database layer where needed
Decisions about RocksDB

Here are some stack decisions, common use cases and reviews by companies and developers who chose RocksDB in their tech stack.

Needs advice
on
HBaseHBaseMilvusMilvus
and
RocksDBRocksDB

I am researching different querying solutions to handle ~1 trillion records of data (in the realm of a petabyte). The data is mostly textual. I have identified a few options: Milvus, HBase, RocksDB, and Elasticsearch. I was wondering if there is a good way to compare the performance of these options (or if anyone has already done something like this). I want to be able to compare the speed of ingesting and querying textual data from these tools. Does anyone have information on this or know where I can find some? Thanks in advance!

See more

Blog Posts

Jan 26 2022 at 4:34AM

Pinterest

Amazon EC2RocksDBOpenTSDB+3
3
746
GitHubPythonReact+42
49
40863

RocksDB's 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

RocksDB Alternatives & Comparisons

What are some alternatives to RocksDB?
Redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
Cassandra
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.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
Badger
Domain management you'll enjoy. Domains effectively drive the entire internet, shouldn't they be easier to manage? We thought so, and thus, Badger was born! You shouldn't have to auction off your house and sacrifice your first born to transfer domains, you should be able to press a button that says "Transfer Domain" and be done with it. That is our philosophy, and we think you will appreciate it. Stop letting domain registrars badger you, and start using... Badger!
HBase
Apache HBase is an open-source, distributed, versioned, column-oriented store modeled after Google' Bigtable: A Distributed Storage System for Structured Data by Chang et al. Just as Bigtable leverages the distributed data storage provided by the Google File System, HBase provides Bigtable-like capabilities on top of Apache Hadoop.
See all alternatives

RocksDB's Followers
290 developers follow RocksDB to keep up with related blogs and decisions.