SkeletonDB

maintenance

by Tristan Rice · since 2016

Experimental lock-free in-memory MVCC key-value store for Go built on a Bw-tree; untouched since 2016.

key-valueembedded libraryopen source (permissive)legacy

maintenance. Hobby project with no commits since December 2016; effectively unmaintained. Use Badger, Pebble, bbolt or BuntDB for embedded storage in Go.

Overview

SkeletonDB is a small Go library by Tristan Rice that implements an in-memory multi-version key-value store on top of a Bw-tree, the latch-free index structure from Microsoft Research that updates pages with atomic compare-and-swap instead of locks. It was a 2016 hobby project and never grew persistence, a server, or a stable API. Its value today is as a compact, readable Go implementation of Bw-tree ideas; for real embedded storage in Go, pick a maintained engine.

Strengths & trade-offs

Strengths

  • +Readable Go implementation of a latch-free Bw-tree
  • +MVCC snapshots without locks for concurrent readers and writers
  • +MIT license and tiny codebase, easy to study or fork

Trade-offs

  • −Abandoned in 2016 with no releases
  • −In-memory only: no persistence or recovery
  • −No production users or test history to rely on

Great for

  • +Learning how Bw-trees and MVCC work
  • +Prototyping lock-free data structures in Go

Think twice for

  • −Any production storage
  • −Data that must survive a restart

Capabilities

Native or official first-party support · 2 of 25 tracked

✓Transactions
✓In-memory
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–Durable persistence
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Limited ACID
Consistency
Strong
Schema
Schemaless
Architecture
Embedded, In memory
Query languages
Go API

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

client languagesGo

Alternatives to SkeletonDB

Compare all→
BadgerKey-Value10.7

Pure-Go LSM key-value store that separates keys from values to cut write amplification.

skeletondb vs badger →
PebbleKey-Value5.6

Cockroach Labs' Go LSM engine, inspired by RocksDB and tuned for CockroachDB.

skeletondb vs pebble →
bboltKey-Value11.5

etcd's maintained fork of BoltDB: a simple, pure-Go B+tree store in a single file.

skeletondb vs bbolt →
BuntDBKey-Value3.8

Embeddable in-memory key/value store for Go with ACID transactions, custom and spatial indexes, and TTLs.

skeletondb vs buntdb →
EhcacheKey-Value17.6

The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.

skeletondb vs ehcache →
Chronicle MapKey-Value8.7

Off-heap, memory-mapped key-value store for Java with microsecond latency and cross-process sharing.

skeletondb vs chronicle-map →

SkeletonDB FAQ

What is SkeletonDB?

SkeletonDB is a key-value database by Tristan Rice, first released in 2016. SkeletonDB is a small Go library by Tristan Rice that implements an in-memory multi-version key-value store on top of a Bw-tree, the latch-free index structure from Microsoft Research that updates pages with atomic compare-and-swap instead of locks. It was a 2016 hobby project and never grew persistence, a server, or a stable API. Its value today is as a compact, readable Go implementation of Bw-tree ideas; for real embedded storage in Go, pick a maintained engine.

Is SkeletonDB open source?

Yes. SkeletonDB is open source. License: MIT License.

Does SkeletonDB support ACID transactions?

Partly. SkeletonDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.

Does SkeletonDB scale horizontally?

SkeletonDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run SkeletonDB?

You can self-host it and embed it in your application.

What is SkeletonDB best for?

SkeletonDB is a strong fit for learning how Bw-trees and MVCC work; and prototyping lock-free data structures in Go. Think twice for any production storage.

What are the best alternatives to SkeletonDB?

Common alternatives to SkeletonDB include Badger, Pebble, bbolt, BuntDB and Ehcache. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is SkeletonDB still maintained?

SkeletonDB is in maintenance mode. Hobby project with no commits since December 2016; effectively unmaintained. Use Badger, Pebble, bbolt or BuntDB for embedded storage in Go.

How popular is SkeletonDB?

SkeletonDB ranks #654 of 844 databases on the WhichDB Score (0.4/100), and #126 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.