# lotusdblabs/lotusdb

Most advanced key-value database written in Go, extremely fast, compatible with LSM tree and B+ tree.

Repository: https://github.com/lotusdblabs/lotusdb
Canonical: https://ross.abutalabs.com/products/lotusdb
Homepage: https://lotusdblabs.github.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: lsm-tree, bptree, kv-store, golang, database, storage
Last push: 2025-02-18T08:07:46+00:00

## Health v2 (maintenance only)
Score: 26/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 7, release rhythm 8, longevity 100
- inputs: {"age_days": 1723, "days_push": 561, "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 2256, forks 187 (observed 2026-08-28T04:06:31.330704+00:00)

## What it is
LotusDB is an embedded key-value database library written in Go that combines LSM tree and B+ tree storage engines. It aims for fast read/write performance with lower read and space amplification than typical LSM-based stores.

## Use cases
- embed a fast key-value store in a Go application
- store key-value data with low read amplification
- replace badger or bbolt with a faster alternative
- persist application state locally in Go
- build a storage engine with combined LSM and B+ tree design

## When to choose
- you need an embedded KV store in Go with fast reads and writes
- you want lower space and read amplification than typical LSM stores
- you want a badger or bbolt alternative

## When to avoid
- you need a networked or distributed database
- you need SQL or rich queries
- your stack is not Go

## Facets
- artifact type: library
- maturity: active
- function: database
- domain: databases, developer-tools, backend
- platform: go, cross-platform
- tags: key-value-store, lsm-tree, bptree, embedded-database, storage-engine, storage

## Member repositories
- lotusdblabs/lotusdb (main) score 26

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:31.330704+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-30T02:43:43.008370+00:00, confidence not recorded.
  - readme: https://github.com/lotusdblabs/lotusdb (fetched 2026-08-28T04:06:31.330704+00:00, sha ff0761198b16)
  - homepage: https://lotusdblabs.github.io (fetched 2026-08-29T10:23:35.117711+00:00, sha 0758cdf6f4e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
