BuffDB is a Rust library to simplify multi-plexing on edge devices
BuffDB is a lightweight, high-performance persistence layer for gRPC, developed in Rust. It supports SQLite, DuckDB, and RocksDB, and is ideal for offline data access applications.
Read original articleBuffDB is an experimental software project designed as a lightweight, high-performance persistence layer for gRPC, developed in Rust. It is particularly useful in environments with limited bandwidth and critical performance needs, utilizing Protobuf as its messaging format. BuffDB supports multiple backends, including SQLite, DuckDB, and RocksDB, with the SQLite backend offering full support and the others providing partial support. The binary size is under 2 MiB when using SQLite with dynamic linking. BuffDB allows interaction through auto-generated TypeScript code from the protobuf definition, facilitating multi-language support. To integrate BuffDB into a Rust project, users can execute `cargo add buffdb`. The server can be started after cloning the repository with the command `cargo run --all-features -- run`, which will launch it on `[::1]:50051`. BuffDB also features a command line interface for managing key-value pairs and blob data, with commands for retrieving and setting values, as well as storing files. It is particularly suited for applications requiring offline data access, such as note-taking apps, games, and IoT device management.
- BuffDB is a lightweight persistence layer for gRPC, written in Rust.
- It supports multiple backends, including SQLite, DuckDB, and RocksDB.
- The binary size is under 2 MiB with SQLite backend.
- It offers a command line interface for managing data.
- Suitable for applications needing offline data access.
Related
The Ultimate Database Platform
AverageDB, a database platform for developers, raised $50 million in funding. It offers speed, efficiency, serverless architecture, real-time data access, and customizable pricing. The platform prioritizes data privacy and caters to diverse user needs.
Show HN: SQLite Transaction Benchmarking Tool
The "sqlite-bench" GitHub project tests SQLite transaction behavior. It provides code, compilation guidelines, and running instructions. To protect SSD, run benchmarks on in-memory filesystem first. Docker image available.
BlockQueue: SQLite-powered pub/sub for lean, fast messaging
Block Queue is a lightweight, cost-effective messaging system using a pub/sub mechanism, built on SQLite3 and NutsDB, supporting Turso Database and PostgreSQL, with high performance and open-source availability.
Memory Management in DuckDB
DuckDB optimizes query processing with effective memory management, using a streaming execution engine and disk spilling for large datasets. Its buffer manager enhances performance by caching frequently accessed data.
Show HN: SlateDB – An embedded storage engine built on object storage
SlateDB is an embedded storage engine for object storage systems, featuring batch writes and asynchronous operations. It is in early development, with basic functionalities and an open-source Apache 2.0 license.
Why don't you make up your own bullshit words instead of randomly picking stuff from other places? That's not even multiplexing.
Related
The Ultimate Database Platform
AverageDB, a database platform for developers, raised $50 million in funding. It offers speed, efficiency, serverless architecture, real-time data access, and customizable pricing. The platform prioritizes data privacy and caters to diverse user needs.
Show HN: SQLite Transaction Benchmarking Tool
The "sqlite-bench" GitHub project tests SQLite transaction behavior. It provides code, compilation guidelines, and running instructions. To protect SSD, run benchmarks on in-memory filesystem first. Docker image available.
BlockQueue: SQLite-powered pub/sub for lean, fast messaging
Block Queue is a lightweight, cost-effective messaging system using a pub/sub mechanism, built on SQLite3 and NutsDB, supporting Turso Database and PostgreSQL, with high performance and open-source availability.
Memory Management in DuckDB
DuckDB optimizes query processing with effective memory management, using a streaming execution engine and disk spilling for large datasets. Its buffer manager enhances performance by caching frequently accessed data.
Show HN: SlateDB – An embedded storage engine built on object storage
SlateDB is an embedded storage engine for object storage systems, featuring batch writes and asynchronous operations. It is in early development, with basic functionalities and an open-source Apache 2.0 license.