PamphletDB

PamphletDB is an embedded key-value store for Go.

There is a top-level key namespace; use CreateBucket to create additional child buckets within a namespace. Buckets can be nested to arbitrary levels.

The database uses various data structures implemented over fixed-size pages (stream, resizable vector, hashtable, etc) with a persistent freelist.

The file format is not yet stable - callers should pin a specific tag or commit.

Usage

db := NewFromMemory()

stream, _ := db.CreateStream("foo.txt")

_ = stream.Set("hello world")
S
Description
PamphletDB is an embedded key-value store for Go
Readme ISC
135 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%