# rosedblabs/rosedb

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

Repository: https://github.com/rosedblabs/rosedb
Canonical: https://ross.abutalabs.com/products/rosedb
Homepage: https://rosedblabs.github.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: database, kv-store, golang, data-structures, go, key-value, embedded, rosedb, throughput
Last push: 2026-02-10T03:41:42+00:00

## Health v2 (maintenance only)
Score: 55/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 66, release rhythm 16, longevity 100
- inputs: {"age_days": 2096, "days_push": 204, "days_rel": 558, "gap_med": 137, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4885, forks 644 (observed 2026-08-28T04:09:01.875452+00:00)

## What it is
RoseDB is a lightweight, fast and reliable key/value storage engine written in Go, based on the Bitcask storage model with append-only WAL-backed log files. It is designed as an embeddable library offering low latency, high write throughput, and single-seek reads via an in-memory index.

## Use cases
- embed a fast key-value store in a Go application
- store key/value data with low latency reads and writes
- handle datasets larger than RAM without performance degradation
- build a persistent cache or metadata store
- random-write-heavy workloads needing high throughput
- embedded storage for devices with limited resources

## When to choose
- you need an embedded key/value engine in Go with predictable performance
- your workload is write-heavy with random keys
- you want fast crash recovery and simple append-only storage
- datasets exceed available RAM but lookups must stay fast

## When to avoid
- you need range scans or complex queries over keys
- you require a client-server database rather than an embedded library
- your dataset must fit entirely in an in-memory index and is extremely large
- you need multi-writer concurrent access across processes

## Facets
- artifact type: library
- maturity: stable
- function: database, caching, file-system
- domain: databases, developer-tools, embedded-systems
- platform: go, cross-platform, windows
- tags: key-value-store, bitcask, storage-engine, embedded-database, write-ahead-log, log-structured, linux, macos

## Member repositories
- rosedblabs/rosedb (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:01.875452+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:14.378490+00:00, confidence not recorded.
  - readme: https://github.com/rosedblabs/rosedb (fetched 2026-08-28T04:09:01.875452+00:00, sha 3e22d6821066)
  - homepage: https://rosedblabs.github.io (fetched 2026-08-29T09:00:32.245617+00:00, sha f2e609d5c940)
- Data as of 2026-08-30T08:39:29.467469+00:00.
