awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
cberner avatar

cberner/redb

0
View on GitHub↗
4,248 stars·199 forks·Rust·apache-2.0·13 viewswww.redb.org↗

Redb

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. It handles concurrent data access and ensures that groups of changes are applied as single units.

Features

  • ACID Transactional Cores - Provides an ACID-compliant transactional core with atomic, consistent, isolated, and durable operations.
  • Embedded Key-Value Stores - Provides an ACID-compliant embedded key-value store with BTree-based persistent storage.
  • Concurrent Read-Write Transactions - Uses MVCC to isolate concurrent transactions, allowing non-blocking reads and writes.
  • BTree-Based Storage - Uses a B-tree structure to organize persistent key-value data with ordered access.
  • Atomic Commit Logs - Writes batches of changes as single atomic units to prevent partially-updated states.
  • Atomic Batch Commits - Provides atomic batch commits that ensure groups of writes are applied as single units.
  • BTreeMap-Based Storage Engines - Provides a BTreeMap-based storage engine with zero-copy, thread-safe data access.
  • Single-Writer Multi-Reader Stores - Implements a single-writer multi-reader model with MVCC for concurrent data access.
  • Multi-Version Concurrency Control - Allows multiple readers and a single writer to operate simultaneously using multi-version concurrency control.
  • Persistent Application State - Saves application state to disk reliably with automatic recovery after crashes or restarts.
  • Single-Writer Multi-Reader Locking - Employs a single-writer multi-reader locking model for coordinated concurrent access.
  • ACID-Compliant - Ships an ACID-compliant storage engine with crash safety and rollback support.
  • MVCC Implementations - Implements MVCC to manage concurrent access with multiple data versions for non-blocking reads.
  • BTree-Based MVCC Engines - Uses BTree-based persistent storage with MVCC to manage concurrent reads and writes without blocking.
  • Write-Ahead Logging - Implements write-ahead logging to ensure durability and crash recovery for all mutations.
  • Memory-Mapped I/O - Maps storage files directly into process memory for efficient data access without system calls.
  • Ordered Map Data Access - Provides ordered map data access through a BTreeMap interface with range query support.
  • BTreeMap - Provides a BTreeMap query interface for ordered key-value access without raw query syntax.
  • BTreeMap APIs - Provides a zero-copy BTreeMap interface for intuitive, thread-safe key-value access.
  • BTreeMap Key-Value Access - Offers a BTreeMap-like API for zero-copy, thread-safe key-value access.

Star history

Star history chart for cberner/redbStar history chart for cberner/redb

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Redb

Similar open-source projects, ranked by how many features they share with Redb.
  • boltdb/boltboltdb avatar

    boltdb/bolt

    14,642View on GitHub↗

    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

    Go
    View on GitHub↗14,642
  • nutsdb/nutsdbnutsdb avatar

    nutsdb/nutsdb

    3,554View on GitHub↗

    NutsDB is an ACID-compliant, embedded transactional storage engine that functions as both a disk-backed key-value store and an in-memory data structure store. It provides atomic and serializable transactions with commit and rollback capabilities to ensure strict data consistency for applications requiring a lightweight persistence layer. The engine distinguishes itself by supporting a variety of complex data types, including lists, sets, and sorted sets, alongside standard byte-slice storage. It implements a transactional storage model featuring hot backups and a compaction algorithm to maint

    Godata-structuresdatabasego
    View on GitHub↗3,554
  • dgraph-io/badgerdgraph-io avatar

    dgraph-io/badger

    15,666View on GitHub↗

    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

    Godatabasedocument-databasego
    View on GitHub↗15,666
  • etcd-io/bboltetcd-io avatar

    etcd-io/bbolt

    9,573View on GitHub↗

    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

    Go
    View on GitHub↗9,573
See all 30 alternatives to Redb→

Frequently asked questions

What does cberner/redb do?

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.

What are the main features of cberner/redb?

The main features of cberner/redb are: ACID Transactional Cores, Embedded Key-Value Stores, Concurrent Read-Write Transactions, BTree-Based Storage, Atomic Commit Logs, Atomic Batch Commits, BTreeMap-Based Storage Engines, Single-Writer Multi-Reader Stores.

What are some open-source alternatives to cberner/redb?

Open-source alternatives to cberner/redb include: boltdb/bolt — Bolt is a single-file embedded key-value store for Go applications. It is an ACID transactional database that… nutsdb/nutsdb — NutsDB is an ACID-compliant, embedded transactional storage engine that functions as both a disk-backed key-value… h2database/h2database — H2 is a JDBC-compliant relational database management system written in Java. It functions as an embeddable SQL… etcd-io/bbolt — bbolt is an ACID-compliant embedded key-value store for Go applications. It persists all data in a single… dgraph-io/badger — Badger is an embeddable key-value store written in Go that provides persistent data storage for byte keys and values.… jankotek/mapdb — MapDB is an embedded database engine and disk-backed collection library that stores Java collections on disk or…