# dain/leveldb

Port of LevelDB to Java

Repository: https://github.com/dain/leveldb
Canonical: https://ross.abutalabs.com/products/dain-leveldb
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2022-11-19T02:04:32+00:00

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

## Adoption (not part of the score)
Stars 1557, forks 418 (observed 2026-08-28T04:05:03.298343+00:00)

## What it is
A pure-Java port of Google's LevelDB embedded key-value store, aiming for byte-for-byte file compatibility with the C++ original. It provides put/get/delete operations, batch writes, iterators, snapshots, and custom comparators through a familiar LevelDB-style API.

## Use cases
- embed a fast key-value store in a Java application without native dependencies
- read or write LevelDB files from the JVM with byte-for-byte compatibility
- store and iterate key/value pairs with snapshot-consistent reads
- perform atomic batch updates to an embedded database
- replace RocksDB/LevelDB native bindings with a pure Java implementation

## When to choose
- you need an embedded LSM key-value store on the JVM with no native libraries
- you must interoperate with data files created by the C++ LevelDB
- you want a lightweight, dependency-free persistent store for Java

## When to avoid
- you need heavy write throughput or active development and support
- you need multi-node or client-server database features
- you require rigorous production hardening - the project notes only trivial testing and sees infrequent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: database, database-driver, serialization
- domain: databases, developer-tools, backend
- platform: jvm, cross-platform
- tags: leveldb, key-value-store, embedded-database, java-port, log-structured-storage

## Member repositories
- dain/leveldb (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.298343+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-30T04:29:56.296021+00:00, confidence not recorded.
  - readme: https://github.com/dain/leveldb (fetched 2026-08-28T04:05:03.298343+00:00, sha fa86b52f0774)
- Data as of 2026-08-30T08:39:29.467469+00:00.
