For un magazin key-value embedded pentru persistență locală, the strongest matches are google/leveldb (LevelDB is the canonical embeddable key-value database library, running), dgraph-io/badger (Badger is an embeddable key-value database library in Go) and jankotek/mapdb (MapDB is an embeddable Java database engine that stores). cberner/redb and boltdb/bolt round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Motoare de baze de date ușoare și embeddable, concepute pentru stocarea eficientă a datelor locale în aplicații desktop sau mobile.
LevelDB is an embedded database library and persistent storage engine that provides a sorted key-value store. It uses a log-structured merge-tree architecture to map byte arrays to values, running directly within a process to provide storage without the need for a separate server process. The system is distinguished by its use of custom comparison functions to define key ordering, enabling efficient range scans and sequenced lookups. It ensures data reliability through atomic batch execution, consistent snapshot generation, and log-based recovery after failures. The engine covers broad capab
LevelDB is the canonical embeddable key-value database library, running directly in your process without an external server and providing persistent storage, atomic batch transactions, snapshot isolation, and concurrent reads — matching every required feature for a lightweight, embeddable store.
Badger is an embeddable key-value store written in Go that provides persistent data storage for byte keys and values. It is a persistent database that utilizes a tiered LSM tree storage model to optimize disk storage and retrieval efficiency. The system features an ACID transaction engine that ensures data integrity through serializable snapshot isolation and multi-version concurrency control. It also provides an encrypted key-value store with data-at-rest encryption and a managed encrypted key registry to secure stored information. The engine covers a broad set of capabilities including hig
Badger is an embeddable key-value database library in Go that stores byte keys and values persistently with ACID transactions and concurrent access, directly matching the request for a serverless embedded store.
MapDB is an embedded database engine and disk-backed collection library that stores Java collections on disk or off-heap. It functions as a local data processing engine designed to handle datasets that exceed available physical RAM. The project utilizes off-heap data storage to eliminate garbage collection overhead and employs disk overflow caching to balance memory and disk usage. It provides specialized utilities for filtering and analyzing large volumes of local data on a single machine. The system ensures data integrity through ACID-compliant transactions and multi-version concurrency co
MapDB is an embeddable Java database engine that stores key-value collections with ACID transactions and concurrent access, directly matching the need for a lightweight, serverless key-value store—though it currently offers bindings only for Java rather than multiple languages.
redb is an embedded key-value store and ACID-compliant storage engine. It functions as a persistent storage system for saving and retrieving data as key-value pairs within a tree structure. The engine is built as an MVCC transactional database, utilizing multi-version concurrency control to manage simultaneous reads and writes without blocking. It employs a single-writer multi-reader model to ensure data consistency while allowing multiple threads to access the store. The system provides persistent state management and atomic transaction management to prevent data corruption during crashes.
redb is an embedded key-value store library written in Rust that runs entirely in-process with no external server, supports ACID transactions and concurrent reads/writes via MVCC, and matches your need for a persistent, embeddable key-value database; it is currently Rust-only, so if you require multiple language bindings you may need additional wrapping.
Bolt is a single-file embedded key-value store for Go applications. It is an ACID transactional database that organizes data in B+trees on disk to provide efficient sorted key retrieval and range scans. The system uses a memory-mapped model to map the database file directly into the process address space for fast random-access reads. The project distinguishes itself through a multi-version concurrency control architecture that allows multiple simultaneous readers to access a consistent snapshot of data without blocking a writer. It employs a single-writer multi-reader locking model and uses a
Bolt is an embeddable key-value database for Go applications that runs in-process, offers ACID transactions, and supports concurrent reads with a single writer, but it is limited to Go bindings rather than the multiple language bindings you asked for.
bbolt is an ACID-compliant embedded key-value store for Go applications. It persists all data in a single memory-mapped file on disk, organizing information using B+ trees to facilitate sorted key iteration and efficient range queries. The project distinguishes itself through a hierarchical data organization model, allowing buckets to be nested within other buckets to create a tree-like structure. It employs a single-writer, multi-reader locking mechanism and copy-on-write transactions to ensure serializable isolation and data integrity. The system includes comprehensive data management capa
bbolt is an ACID-compliant embedded key-value store for Go that runs as a library without an external server, matching the core need, though it only offers native Go bindings rather than supporting multiple languages.
FASTER is a high-throughput key-value store that combines an in-memory data store with a hybrid memory-disk storage engine, enabling datasets larger than available RAM. It uses a latch-free, cache-optimized index for concurrent point lookups and heavy updates, and records all mutations to a persistent append-only log on disk with checksum validation and group-commit checkpointing for crash recovery. The system supports multi-key transactional workloads through atomic multi-key locking, ensuring transactional consistency without coarse-grained contention. It exposes the key-value store to remo
FASTER is an embeddable key-value store library written in C# that provides persistent storage, concurrent latch-free access, and multi-key transactional support, making it a solid fit for applications that need an in-process key-value database — though its primary focus on high throughput and optional remote access may mean it is less lightweight than the search implies, and it does not natively offer multiple language bindings.
Sled is an embedded key-value store and ACID-compliant database designed for high-performance data persistence. It functions as a log-structured storage engine that organizes data using B+ trees to support efficient range queries and prefix scans. The engine implements a zero-copy data store model, utilizing epoch-based reclamation to provide direct references to cached values without memory allocations. It distinguishes itself through a combination of write-ahead logging, page cache optimizations to reduce write amplification on flash storage, and serializable transactions for atomic multi-k
Sled is an embedded key-value database library written in Rust that runs in-process, provides ACID transactions, persistent storage, and concurrent read/write — exactly the embeddable key-value store you want, though it lacks explicit support for multiple language bindings.
RocksDB is a high-performance, embeddable persistent key-value library and storage engine based on Log-Structured Merge-trees. It is designed to provide durable storage for large-scale datasets, integrating directly into applications to manage data on flash and RAM-based hardware. The engine is distinguished by its focus on minimizing read and write amplification through multi-threaded compaction and custom memory allocators. It features specialized optimizations for flash storage, including support for zoned block devices, and provides the ability to extend store behavior via external plugin
RocksDB is a high-performance embeddable persistent key-value library that integrates directly into applications without needing a separate server, fitting the core request, though its emphasis on large-scale flash and RAM optimization and the absence of explicit ACID guarantees in its description may make it heavier than the "lightweight" ideal you have in mind.
Pebble is an embedded key-value storage engine written in Go, designed as a library that provides durable, write-optimized data persistence directly within applications. It organizes data using a log-structured merge-tree (LSM-tree) structure, where writes are first buffered in an in-memory skiplist memtable and persisted to a write-ahead log before being flushed to block-based SSTable files on disk. The engine supports atomic batch commits, configurable write synchronization, and automatic background compaction that merges and rewrites sorted runs to reclaim space and maintain read performanc
Pebble is an embedded key-value storage engine designed as a Go library with no external server process, offering durable, write-optimized persistence and batch atomicity, though it lacks multiple language bindings beyond Go.
RoseDB is a persistent key-value database and log-structured storage engine. It functions as a lightweight storage system that utilizes a log-structured hash table and a Bitcask engine implementation to provide fast data retrieval and disk-backed persistence. The system operates as an atomic transaction engine, grouping multiple read and write operations into single units to maintain data consistency. It handles data through a key-value model that supports individual insertions, lookups, and deletions. The database provides capabilities for batch data processing and atomic updates. Additiona
RoseDB is a persistent, embeddable key-value store written in Go that uses a log-structured hash table and provides atomic transactions, but it lacks multiple language bindings and does not explicitly guarantee concurrent read/write access, making it a solid fit for an embeddable key-value database library with some feature gaps.
Embedded key-value store for read-heavy workloads written in Go
Pogreb is an embedded key-value store library in Go that runs without an external server process, directly fitting the core need for a lightweight, embeddable database, though it is Go-only and does not advertise ACID transactions or multi-language bindings.
This project provides a high-performance key-value storage solution for mobile applications, utilizing memory-mapped files to enable rapid read and write operations. It functions as a persistent data layer that integrates directly with the JavaScript runtime to minimize overhead, while supporting reactive state synchronization to ensure interface components update automatically when stored data changes. The storage system distinguishes itself through its ability to manage multiple independent database instances, which organizes data by module and prevents collisions between application compon
This is an ultra-fast, embeddable key-value storage library for React Native that runs entirely inside your app without any external server process, matching your core need for a distributed persistent store—though it is limited to React Native and lacks explicit ACID transaction support.
PalDB is an embeddable key-value storage engine for Java designed for high-performance data retrieval. It functions as a library that persists data into a single, immutable binary file, providing a storage solution for write-once workloads that require minimal memory overhead compared to standard in-memory collections. The system distinguishes itself through a write-once data layout that eliminates the need for locking mechanisms during concurrent read operations. By utilizing memory-mapped file access and sorted key indexing, the engine enables rapid lookups directly within the process addre
linkedin/paldb is an embeddable Java key-value store that runs as a library without an external server, matching the core request, but its write-once design limits updates and it lacks ACID transactions, concurrent writes, and support for languages beyond Java.
Electron JSON Storage is a utility for persisting and retrieving JavaScript objects as JSON files on the local filesystem within desktop applications. It functions as a wrapper for managing local configuration files, allowing developers to save and retrieve user preferences and application settings to maintain state across multiple sessions. The library distinguishes itself by providing both asynchronous non-blocking operations and synchronous fallback methods for data access. It manages data through key-value mapping, where unique string identifiers are translated into specific file paths, a
electron-json-storage lets you read and write user settings as JSON files directly from an Electron app, making it a lightweight, embeddable key-value store for that environment, but it lacks ACID transactions, concurrent read/write, and bindings beyond JavaScript.
| Repository | Stele | Limbaj | Licență | Ultimul push |
|---|---|---|---|---|
| google/leveldb | 39.2K | C++ | BSD-3-Clause | |
| dgraph-io/badger | 15.7K | Go | Apache-2.0 | |
| jankotek/mapdb | 5K | Java | Apache-2.0 | |
| cberner/redb | 4.2K | Rust | apache-2.0 | |
| boltdb/bolt | 14.6K | Go | MIT | |
| etcd-io/bbolt | 9.6K | Go | MIT | |
| microsoft/faster | 6.6K | C# | mit | |
| spacejam/sled | 8.9K | Rust | apache-2.0 | |
| facebook/rocksdb | 31.8K | C++ | GPL-2.0 | |
| cockroachdb/pebble | 5.8K | Go | bsd-3-clause |