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
google avatar

google/leveldb

0
View on GitHub↗
39,152 stars·8,204 forks·C++·BSD-3-Clause·30 views

Leveldb

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 capability areas including data management, storage maintenance, and performance optimization. It implements write-ahead logging and multi-level compaction to manage disk space, while utilizing block-based caching and data compression to optimize read and write throughput.

Low-level integration is handled through an abstract file system interface that decouples the storage engine from the operating system.

Features

  • Embedded Databases - Provides a high-performance storage engine that runs within the application process without a separate server.
  • Log-Structured Merge-Trees - Employs a log-structured merge-tree architecture to optimize write throughput and read performance.
  • Database Atomic Batches - Group multiple mutations into a single batch to ensure they are applied as one indivisible unit in the project.
  • Custom Key Ordering - Specify a custom comparison function to determine how keys are sorted and stored in the project.
  • Storage Compaction Utilities - Performs background multi-level compaction to merge sorted files and reclaim disk space.
  • Data Iterators - Provides sequential iterators for traversing stored entries in forward or backward order.
  • Database Key Scanning - Implements key range scanning to iterate over dataset entries between two boundaries.
  • Sorted String Tables - Stores data in sorted immutable tables (SSTables) to enable efficient binary search lookups.
  • Key-Value Store Iterators - Traverse the project dataset in forward and backward directions to process keys and values in sequence.
  • Sorted - Maintains entries in a specific sequence using custom comparison functions for efficient range scans.
  • Persistent Storage Engines - Provides a low-level system for managing disk data with atomic batches, snapshots, and background compaction.
  • Key-Value - Provides a persistent, embedded key-value store mapping byte arrays to values.
  • Log-Structured Merge-Trees - Utilizes a log-structured merge-tree architecture to provide fast, ordered mapping of keys to values.
  • Write-Ahead Logging - Implements write-ahead logging to record every mutation for durability and crash recovery.
  • Sorted Data Management - Maintains keys in a sorted sequence using comparison functions for efficient range scans.
  • Sorted Memory Buffers - Buffers recent writes in a sorted MemTable before flushing them to immutable disk tables.
  • Batch Data Operations - Provides batch write operations to improve throughput and maintain atomic consistency.
  • Write Throughput Optimizations - Uses atomic batches and asynchronous writes to handle large volumes of data updates efficiently.
  • Point-In-Time Snapshots - Generates consistent point-in-time snapshots to allow reads without interference from concurrent updates.
  • Data Compression - Compresses and decompresses data to balance processing performance with disk space reduction.
  • Data Compression Algorithms - Reduces the disk space footprint by automatically compressing stored data.
  • Caching and Performance - Accelerates data retrieval using block-based caching and filtered lookup policies to reduce disk reads.
  • Write Persistence Guarantees - Allows choosing between asynchronous writes for performance and synchronous writes to ensure data durability.
  • Atomic Transaction Execution - Supports grouping multiple mutations into a single atomic batch to ensure data consistency.
  • Data Recovery - Reconstructs state after failures by processing manifest files and log chunks.
  • File Storage Management - Identifies and deletes stale log and table files that are no longer referenced by the current state.
  • In-Memory Caches - Implements block-based caching to reduce disk read operations and accelerate data retrieval.
  • Persistent Application State - Saves application state to disk with support for snapshots and crash recovery.
  • Data Integrity - Uses cyclic redundancy checks to validate data blocks and detect corruption during disk I/O.
  • File System Abstractions - Decouples the storage engine from the operating system using an abstract file system interface.
  • Database Systems - Fast key-value storage library for ordered string mappings.
  • Databases - Fast key-value storage library.
  • Databases and Data - Fast key-value storage library.
  • Storage Systems - Fast key-value storage library for embedded use.

Star history

Star history chart for google/leveldbStar history chart for google/leveldb

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

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

Projects sharing features with Leveldb

These projects share indexed features with Leveldb. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • facebook/rocksdbfacebook avatar

    facebook/rocksdb

    31,767View on GitHub↗

    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

    C++databasestorage-engine
    View on GitHub↗31,767
  • 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
  • pubkey/rxdbpubkey avatar

    pubkey/rxdb

    23,048View on GitHub↗

    This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a robust framework for managing application state by synchronizing data across browsers, mobile devices, and server-side runtimes. By treating local storage as the primary source of truth, it enables applications to remain functional without network connectivity, automatically reconciling changes with remote backends once a connection is restored. The database distinguishes itself through a modular architecture that supports cross-environment synchronization and high-performance d

    TypeScriptangularbrowser-databasecouchdb
    View on GitHub↗23,048
  • spacejam/sledspacejam avatar

    spacejam/sled

    8,928View on GitHub↗

    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

    Rustb-plus-treeb-treeconcurrent
    View on GitHub↗8,928
Compare all 30 related projects→

Frequently asked questions

What does google/leveldb do?

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.

What are the main features of google/leveldb?

The main features of google/leveldb are: Embedded Databases, Log-Structured Merge-Trees, Database Atomic Batches, Custom Key Ordering, Storage Compaction Utilities, Data Iterators, Database Key Scanning, Sorted String Tables.

Which projects share features with google/leveldb?

Projects with overlapping indexed features include: facebook/rocksdb — RocksDB is a high-performance, embeddable persistent key-value library and storage engine based on Log-Structured… dgraph-io/badger — Badger is an embeddable key-value store written in Go that provides persistent data storage for byte keys and values.… pubkey/rxdb — This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a… spacejam/sled — Sled is an embedded key-value store and ACID-compliant database designed for high-performance data persistence. It… syndtr/goleveldb — goleveldb is an embedded key-value storage database for Go. It provides local data persistence and indexing, allowing… cockroachdb/pebble — Pebble is an embedded key-value storage engine written in Go, designed as a library that provides durable,…