awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/leveldb

0
View on GitHub↗
39,152 星标·8,204 分支·C++·BSD-3-Clause·8 次浏览

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.
  • 数据库 - Fast key-value storage library.
  • Databases and Data - Fast key-value storage library.
  • Storage Systems - Fast key-value storage library for embedded use.

Star 历史

google/leveldb 的 Star 历史图表google/leveldb 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Leveldb 的开源替代方案

相似的开源项目,按与 Leveldb 的功能重合度排序。
  • facebook/rocksdbfacebook 的头像

    facebook/rocksdb

    31,767在 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
    在 GitHub 上查看↗31,767
  • dgraph-io/badgerdgraph-io 的头像

    dgraph-io/badger

    15,666在 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
    在 GitHub 上查看↗15,666
  • pubkey/rxdbpubkey 的头像

    pubkey/rxdb

    23,048在 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
    在 GitHub 上查看↗23,048
  • spacejam/sledspacejam 的头像

    spacejam/sled

    8,928在 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
    在 GitHub 上查看↗8,928
查看 Leveldb 的所有 30 个替代方案→

常见问题解答

google/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.

google/leveldb 的主要功能有哪些?

google/leveldb 的主要功能包括:Embedded Databases, Log-Structured Merge-Trees, Database Atomic Batches, Custom Key Ordering, Storage Compaction Utilities, Data Iterators, Database Key Scanning, Sorted String Tables。

google/leveldb 有哪些开源替代品?

google/leveldb 的开源替代品包括: 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,…