Discover and explore top open-source AI tools and projects—updated daily.
Embedded database for AI model management over gRPC
Top 89.6% on SourcePulse
BuffDB is a lightweight, high-performance embedded database designed for AI model management and edge computing, offering a gRPC network API and a compact Rust-based binary. It targets developers building offline-first applications or needing efficient data handling for machine learning models, providing a Machine-Oriented Database Management System (MODMS) that prioritizes Protocol Buffers for data serialization.
How It Works
BuffDB leverages Protocol Buffers for efficient, language-agnostic data serialization, reducing overhead compared to JSON. It supports both Key-Value and Blob storage, making it suitable for storing model weights and metadata. The architecture combines an embedded database backend (SQLite by default, with experimental DuckDB support) with a gRPC server, allowing clients in various languages to interact with the data over the network. This approach offers low latency for local operations and reduced bandwidth usage.
Quick Start & Requirements
cargo install buffdb
or via Docker (docker run -p 9313:9313 ghcr.io/buffdb/buffdb:latest
).protoc
(Protocol Buffers compiler). macOS users may need protobuf
and sqlite
via Homebrew.Highlighted Details
Maintenance & Community
The project is actively developed, with contributions acknowledged. Community interaction channels are not explicitly listed in the README.
Licensing & Compatibility
Licensed under the Apache License, Version 2.0, which is permissive and generally compatible with commercial and closed-source applications.
Limitations & Caveats
The DuckDB backend is experimental and may have platform-specific linking issues, particularly on macOS. For production use, the stable SQLite backend is recommended.
3 weeks ago
Inactive