Introduction
PoloDB is an embedded document database written in Rust. It stores BSON documents and provides a MongoDB-like API without requiring a separate database process.
This documentation targets PoloDB v5.2.0.
Changes available only on the master branch are not documented as stable
features until they are included in a release.
Why
PoloDB offers a document-oriented alternative to SQLite for applications that need local, persistent data. It combines a MongoDB-like data model with an embedded, lightweight Rust API and a RocksDB storage engine.
Features
- Simple and Lightweight
- Easy to learn and use
- NoSQL
- MongoDB-like API
- Persistent, RocksDB-backed storage
- Embedded library and optional standalone server
- Cross-Platform
Platform
PoloDB can be built on platforms supported by the Rust and RocksDB toolchains. For the standalone server, the v5.2.0 release page (opens in a new tab) provides prebuilt x64 binaries for macOS, Linux, and Windows.