{"repo":"lispking/kvdb","free":true,"listed":false,"github":"https://github.com/lispking/kvdb","clone":"git clone https://github.com/lispking/kvdb.git","description":"A lightweight, high-performance embedded key-value database written in Zig, featuring B-tree indexing, Write-Ahead Logging (WAL) for durability, and ACID transactions.","language":"Zig","stars":19,"topics":["embedded-database","kv","kvdb","zig","b-tree","key-value","database","embedded"],"license":"MIT","category":"databases-storage","readme_excerpt":"KVDB - Embedded Key-Value Database in Zig An experimental embedded key-value database written in Zig, built around page-based storage, sorted leaf-page indexing, WAL record logging, and a small transaction API. Table of Contents - Project Status - Features - Architecture - Download - Quick Start - API Usage - CLI Tool - Building and Testing - Project Structure - Configuration - Performance Considerations - License Project Status KVDB is currently best viewed as an early-stage embedded storage engine. What works today: - persistent page-based storage with CRUD operations - multi-page B-tree insert/search/iteration support - WAL record writing with CRC32 checksums - explicit transaction APIs plus compaction and CLI tooling - basic automated tests and CI Important current limitations: - multi-page deletes work only while each touched non-root leaf keeps at least one entry; borrow/merge/root-shrink are not implemented yet - automatic startup recovery replays committed WAL records during Database.open - rollback is implemented by reloading the database file, not by targeted undo - compression is not implemented Features Implemented Today - Page-Based Storage : 4KB fixed-size pages optimized for simple file I/O - Sorted Leaf-Page Indexing : Keys are kept sorted inside the current root leaf page and searched with binary search - Basic Transaction API : One active transaction per database with explicit commit() / abort() methods - WAL Record Logging : Insert/delete/commit/abort recor","default_branch":null,"files":null,"tree":[],"storefront":"/r/lispking","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lispking/kvdb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}