Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. rosedb

rosedb

Apache-2.0Gov2.4.0

A lightweight, fast, and reliable key/value storage engine based on the Bitcask log-structured storage model.

Visit WebsiteGitHubGitHub
4.9k stars644 forks0 contributors

What is rosedb?

RoseDB is a lightweight, fast, and reliable key/value storage engine based on the Bitcask storage model. It provides efficient data storage and retrieval with low latency and high throughput, even for datasets larger than RAM. The engine is designed for production use, offering features like batch operations, key expiration, and crash recovery.

Target Audience

Developers and engineers building applications that require an embedded or standalone key/value storage solution with predictable performance and reliability. It is particularly suitable for projects needing high write throughput and efficient random access.

Value Proposition

RoseDB stands out due to its implementation of the Bitcask model, which ensures single-seek retrieval, fast crash recovery, and easy backups. Its append-only, log-structured design delivers consistent performance and scalability without the complexity of traditional databases.

Overview

Lightweight, fast and reliable key/value storage engine based on Bitcask.

Use Cases

Best For

  • Embedded storage in Go applications requiring fast key/value access
  • Handling high-throughput write streams with random data
  • Scenarios where datasets exceed available RAM without performance loss
  • Applications needing atomic and durable batch operations
  • Implementing caching layers with expiration and notification features
  • Building reliable storage engines for production systems

Not Ideal For

  • Applications with billions of unique keys that cannot fit entirely in RAM
  • Systems requiring complex ad-hoc queries, secondary indexes, or SQL-like functionality
  • Distributed databases needing built-in multi-node replication or consensus protocols

Pros & Cons

Pros

Low Latency Access

The append-only, write-once design ensures single-seek retrieval for reads and fast writes, as stated in the README for predictable performance.

High Write Throughput

Saturates I/O and disk bandwidth efficiently for random write streams, making it ideal for data-intensive applications with high ingestion rates.

Scalable Beyond RAM

Handles datasets larger than available memory without degradation by using an in-memory index to point directly to disk locations.

Reliable Crash Recovery

Append-only files simplify recovery, with only partial writes at risk, ensuring minimal data loss and fast restart times.

Cons

Memory-Intensive Key Index

All keys must reside in memory, limiting scalability for massive key spaces and increasing hardware costs for RAM-heavy deployments.

Disk Space Inefficiency

The log-structured design can lead to wasted disk space if keys are frequently updated, as old entries accumulate until compaction occurs.

Limited Data Model

Focuses solely on key/value pairs without built-in support for complex data types, transactions beyond batches, or secondary indexes.

Frequently Asked Questions

Quick Stats

Stars4,887
Forks644
Contributors0
Open Issues3
Last commit7 months ago
CreatedSince 2020

Tags

#kv-store#database#embedded#storage-engine#data-structures#low-latency#key-value-store#embedded-database#golang#high-throughput#go#key-value

Built With

G
Go

Links & Resources

Website

Included in

Go169.1k
Auto-fetched 10 hours ago

Related Projects

Prometheus.ioPrometheus.io

The Prometheus monitoring system and time series database.

Stars66,003
Forks10,830
Last commit16 hours ago
MilvusMilvus

Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

Stars46,019
Forks4,238
Last commit10 hours ago
TiDBTiDB

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Stars40,499
Forks6,238
Last commit11 hours ago
cockroachcockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

Stars32,445
Forks4,104
Last commit5 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub