Independent engine
Its own storage, logging, transactions and indexing. It doesn't wrap SQLite, PostgreSQL, MySQL, DuckDB or RocksDB.
PlinthDB stores your data durably, commits transactions atomically and recovers cleanly after a crash. Its storage, logging, transactions and indexing are built from scratch. Free and open source.
Built in the open with
Every layer, from storage to transactions, is written from scratch in Rust.
Its own storage, logging, transactions and indexing. It doesn't wrap SQLite, PostgreSQL, MySQL, DuckDB or RocksDB.
Checksummed pages, a write-ahead log with group commit, redo recovery that repairs torn pages, and transactions with rollback.
A crash simulator with lost and torn writes, disk-full and bit flips.
Rust with unsafe forbidden by default, plus malformed-input testing on every on-disk decoder.
Apache-2.0. No artificial limits, no telemetry and no required network services.
Architecture notes, format specifications and a security policy live alongside the code.
Open a database, run a transaction and know it survived. Changes are logged before they are applied, and recovery restores a consistent state on restart.
// every commit is atomic and durable let mut txn = db.begin(); txn.put(b"user:1", b"ada")?; txn.put(b"user:2", b"grace")?; txn.commit()?; // read back, scan a range, or roll back let name = db.begin().get(b"user:1")?; // after a crash, recovery restores a consistent state
Reproducible performance work on a named reference machine, with results published.
A single-node SQL subset reachable through a client protocol, verified with differential tests.
Concurrent transactions with history-checker tests, then a replication and failover design.
Tools, independent security review, soak tests, packaging and documentation.
Build PlinthDB with the Rust toolchain, run the test suite, then use it through the Rust API.
git clone https://github.com/brielshallouf/PlinthDB && cd PlinthDBcargo test --releaseRequires the Rust toolchain.
Clone the repository and build it with the Rust toolchain, then use it through the Rust API.
Yes. PlinthDB is licensed under Apache-2.0 with no artificial limits and no telemetry.
With AI assistance under human direction and review. See the project's provenance notes for credits and open legal items.
No. Product names belong to their owners, and PlinthDB is not affiliated with or endorsed by them.
Star the repository to follow development.
View on GitHub โ