{"repo":"539hex/zu","free":true,"listed":false,"github":"https://github.com/539hex/zu","clone":"git clone https://github.com/539hex/zu.git","description":"A minimalist key-value database engine for modern applications","language":"C","stars":14,"topics":["memorystore","redis","cache-storage","caching","c","database","in-memory-database","key-value","multithreading","nosql"],"license":"BSD-2-Clause","category":"databases-storage","readme_excerpt":"🚧 Alpha Release - Active Development This project is currently in alpha stage with ongoing development. It's suitable for experimentation, learning, and development environments. Contributions and feedback are welcome as we work toward a stable release. Overview Zu is a minimalist, fast key-value database implemented in C that combines persistent disk storage with an in-memory hash table for caching. It automatically caches items on their first access, using the hash table to provide near-instantaneous O(1) lookups for cached data. All data is persistently stored in a local binary file, while frequently accessed items are kept in memory for faster retrieval. Key Features - Persistent Storage : Data is automatically saved to and loaded from a binary file ( dump.zdb ) - Fast In-Memory Lookups : A hash table is used for the in-memory cache, providing O(1) average time complexity for lookups. - Command-Line Interface : Simple, intuitive commands for all operations - Performance Monitoring : Built-in execution time measurement for each operation - Lightweight Design : Minimal resource footprint with efficient C implementation Command Description -------------------- ----------------------------------------------------------- zset Store or update a key-value pair zget Retrieve the value for a given key (caches on first access) zrm Remove a key-value pair (from both cache and disk) zall List all stored key-value pairs init db Initialize the database with random key-value pairs cach","default_branch":null,"files":null,"tree":[],"storefront":"/r/539hex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/539hex/zu/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."}