Skip to content

anydb-rs/anydb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

276 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anydb

A collection of high-performance embedded database crates for Rust, focused on efficient storage and retrieval of fixed-size data types.

Crates

  • rawdb - Low-level single-file storage engine with filesystem-like API and automatic space reclamation
  • vecdb - High-performance mutable persistent vectors with compression support, rollback, sparse deletions, and computation methods
  • vecdb_derive - Derive macros for Bytes and Pco traits to enable custom types in vecdb
  • vecdb_bench - Benchmarking suite comparing vecdb against fjall, redb, lmdb, and rocksdb

Use Cases

Choose rawdb when:

  • You need a simple, low-level storage abstraction
  • You want filesystem-like named regions in a single file
  • You need automatic space reclamation via hole punching
  • You want zero-copy mmap access to your data

Choose vecdb when:

  • You need persistent Vec-like collections on disk
  • You have append-heavy or append-mostly workloads
  • You want compression for numeric or general data
  • You need rollback without full snapshots
  • You want sparse deletions without reindexing
  • You need high sequential or random read performance
  • You want computed vectors from other vectors (stored on disk or computed on-the-fly)

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages