qmetrics.net

LevelDB

Ordered embedded key-value storage library

LevelDB is a fast embedded library that maps string keys to string values in sorted order. Applications link it in-process; it is not a SQL database and has no built-in client-server layer.

Overview

LevelDB provides an ordered key-value store where keys and values are arbitrary byte arrays. Data is kept sorted by key, and callers may supply a custom comparator to override the default bytewise ordering. Core operations include Put, Get, and Delete, with support for atomic batches, snapshots for consistent reads, and forward and backward iteration.

The library compresses stored data with Snappy by default and also supports Zstd. External operating-system interactions go through a virtual interface so deployments can customize file-system behavior. Documentation ships with the source and is available online.

LevelDB is not relational: it has no SQL, indexes, or multi-process access to one database file. Only a single process (possibly multithreaded) may open a given database at a time. Applications that need remote access must wrap their own server around the library.

The project supports CMake builds on POSIX platforms and Windows, with maintained public headers under include/leveldb for the main DB interface, options, iterators, batches, and related types.

Key features

  • Sorted byte-key storage
  • Custom key comparators
  • Atomic write batches
  • Consistent snapshots
  • Forward and backward iterators
  • Snappy and Zstd compression
  • Pluggable environment interface
  • CMake build support

Use cases

  • Embedded local persistence
  • Sorted key iteration workloads
  • Single-process application storage
  • Custom storage backends via Env API

Similar software

DuckDB

In-process analytical SQL database engine

DuckDB embeds in applications and the CLI to run fast OLAP SQL locally. It reads Parquet, CSV, JSON, remote object storage, and lakehouse formats without a separate database server.

  • Embedded in-process OLAP engine
  • Rich SQL with windows and nested types
  • Direct queries on Parquet and CSV files
C++CLIDetails →
★ 43.7k⟳ todayMIT

RocksDB

Embeddable persistent key-value storage engine

RocksDB is an embeddable C++ library for a persistent key-value store tuned for flash and RAM. It suits embedded workloads, caches, and storage engines inside larger systems.

  • Embeddable LSM key-value engine
  • Configurable amplification tradeoffs
  • Multi-threaded compactions
C++Details →
★ 32.4k⟳ todayGPL-2.0 · open core

Turso

In-process Rust SQL engine with SQLite and experimental Postgres frontends

Turso is an in-process SQL database compatible with SQLite files and APIs. It compiles queries to bytecode on a shared virtual machine and adds bindings for many languages.

  • SQLite-compatible dialect and file format
  • Bytecode VM with multiple SQL frontends
  • Experimental Postgres dialect and wire protocol
RustLinux, macOS, Windows, DockerDetails →
★ 25.4k⟳ todayMIT

RxDB

Local-first reactive NoSQL database for JavaScript

Stores application data on the client with reactive queries and optional sync to your own backend. Targets websites, hybrid mobile apps, desktop shells, and Node.js.

  • Reactive query subscriptions
  • Offline local-first storage
  • Pluggable storage engines
TypeScriptWebDetails →
★ 23.5k⟳ todayApache-2.0
Open Source Alternative to:Firebase Realtime Database

GUN

Decentralized graph sync and embedded data engine

GUN is a JavaScript graph database protocol for realtime peer-to-peer sync, offline-first use, and end-to-end encryption. npm install gun gets a small embedded engine for browser and Node.

  • Realtime P2P graph synchronization
  • Offline-first local data
  • End-to-end encryption support
JavaScriptWeb, DockerDetails →
★ 19.2k⟳ todayMIT · open core
Open Source Alternative to:Cloud Firestore

migrate

Go database migration CLI and library

Migrate applies versioned up and down SQL (and driver-specific) changes to many databases from local or remote sources. Use it as a command-line tool or embed the Go package in your application.

  • Ordered up and down migrations
  • Many SQL and NoSQL database drivers
  • Filesystem and remote migration sources
GoDocker, CLIDetails →
★ 19.2k⟳ 18 days agoMIT