{"repo":"RPallas92/GrausDB","free":true,"listed":false,"github":"https://github.com/RPallas92/GrausDB","clone":"git clone https://github.com/RPallas92/GrausDB.git","description":"A high-performance, thread-safe key-value embedded data store.","language":"Rust","stars":13,"topics":["data","database","keyvalue-db","keyvaluestore","rust"],"license":"MIT","category":"databases-storage","readme_excerpt":"GrausDb GrausDb is a high-performance, thread-safe key-value embedded data store written in Rust. It is designed for simplicity, efficiency, and reliability. Features - Lock-Free Reads: GrausDb leverages lock-free data structures for high-performance concurrent reads. - Persistence: Data is persisted to disk for durability. - Log-Based Storage: Key-value pairs are stored in log files. - Benchmarks: Benchmarks included to assess the performance. Installation To use GrausDb in your Rust project, simply add it as a dependency in your Cargo.toml file: Quick start Here's a quick example of how to use GrausDb in your Rust application: It can also be called from multiple threads: API GrausDb provides a simple and intuitive API for interacting with the key-value store. Below are some of the key functions and methods exposed by GrausDb, along with usage examples. GrausDb::open open is used to open a GrausDb instance, creating a new database if it doesn't exist at the specified path. Example: set The set method is used to store a key-value pair in the database. Example: get The get method retrieves the value associated with a given key. Example: remove The remove method deletes a key and its associated value from the database. Example: update if The update if method updates the value of an existing key atomically, allowing you to provide a custom update function. An optional predicate can be passed, the value will only be updated if the predicate is satisfied. Example: For more details","default_branch":null,"files":null,"tree":[],"storefront":"/r/RPallas92","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/RPallas92/GrausDB/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."}