# ByteStorage/FlyDB

The high-performance kv storage engine based on bitcask paper made in golang

Repository: https://github.com/ByteStorage/FlyDB
Canonical: https://ross.abutalabs.com/products/flydb
Language: Go
License: Apache-2.0
License Family: permissive
Topics: database, golang, go, key-value, kv-store, redis, flydb, raft
Last push: 2025-05-13T10:21:47+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 21, release rhythm 8, longevity 89
- inputs: {"age_days": 1251, "days_push": 477, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1232, forks 98 (observed 2026-08-28T04:04:04.470561+00:00)

## What it is
FlyDB is a high-performance key-value storage engine written in Go, based on the bitcask log-structured storage model. It serves as a cost-effective alternative to in-memory stores like Redis by balancing fast read/write performance with cheaper disk-based storage.

## Use cases
- embed a fast key-value store in a Go application
- replace Redis where disk-based storage is acceptable
- store key-value pairs with low storage cost
- build a caching layer backed by disk
- learn how bitcask storage engines work
- persist session or metadata as key-value pairs

## When to choose
- you need an embedded KV store in Go with fast reads and writes
- you want Redis-like semantics without keeping all data in memory
- your workload fits the bitcask model of append-only writes and in-memory indexes

## When to avoid
- you need SQL, joins, or rich queries
- you require multi-node replication or full Raft consensus today
- you need battle-tested production maturity comparable to Redis or RocksDB

## Facets
- artifact type: library
- maturity: active
- function: database, caching
- domain: databases, developer-tools, backend
- platform: go, windows, cross-platform
- tags: key-value-store, bitcask, storage-engine, embedded-database, redis-alternative, log-structured-storage, linux, macos

## Member repositories
- ByteStorage/FlyDB (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:04.470561+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-30T08:22:18.910187+00:00, confidence not recorded.
  - readme: https://github.com/ByteStorage/FlyDB (fetched 2026-08-28T04:04:04.470561+00:00, sha eee38e63a126)
- Data as of 2026-08-30T08:39:29.467469+00:00.
