# akrylysov/pogreb

Embedded key-value store for read-heavy workloads written in Go

Repository: https://github.com/akrylysov/pogreb
Canonical: https://ross.abutalabs.com/products/pogreb
Language: Go
License: Apache-2.0
License Family: permissive
Topics: go, key-value, hash-table, key-value-store
Last push: 2026-04-06T23:31:53+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 76, release rhythm 8, longevity 100
- inputs: {"age_days": 3161, "days_push": 149, "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 1351, forks 94 (observed 2026-08-28T04:04:28.180180+00:00)

## What it is
Pogreb is an embedded key-value store written in pure Go, optimized for fast random lookups and infrequent bulk inserts in read-heavy workloads. It stores larger-than-memory data sets with low memory usage and is safe for concurrent use by multiple goroutines.

## Use cases
- embed a fast key-value store in a Go application
- store larger-than-memory datasets with low memory usage
- fast random lookups for read-heavy workloads
- simple local persistence without running a database server
- replace bolt/badger/goleveldb for point-lookup-heavy workloads

## When to choose
- your workload is dominated by point lookups rather than range scans
- you want a dependency-free, pure-Go embedded store
- you need low memory usage and larger-than-memory storage
- you need concurrent-safe access from multiple goroutines

## When to avoid
- you need range scans or ordered iteration
- you have write-heavy workloads with frequent bulk inserts
- you need fast crash recovery for very large databases
- you need multi-process access to the same database

## Facets
- artifact type: library
- maturity: stable
- function: database, caching
- domain: databases, developer-tools, backend
- platform: go, cross-platform
- tags: embedded-database, key-value-store, hash-table, read-heavy, wal, pure-go

## Member repositories
- akrylysov/pogreb (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:28.180180+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:42:12.449083+00:00, confidence not recorded.
  - readme: https://github.com/akrylysov/pogreb (fetched 2026-08-28T04:04:28.180180+00:00, sha b729748c52fb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
