Expand description
§OverGraph
An absurdly fast embedded graph database. Pure Rust, sub-microsecond reads.
OverGraph stores typed nodes and edges with schemaless properties (MessagePack), temporal validity windows, exponential decay scoring, and automatic retention policies. It runs inside your process with no separate server or network calls.
§Quick start
use overgraph::{DatabaseEngine, DbOptions, Direction};
use std::path::Path;
let mut db = DatabaseEngine::open(Path::new("./my-db"), &DbOptions::default()).unwrap();
let id = db.upsert_node(1, "user:alice", Default::default(), 1.0).unwrap();
let neighbors = db.neighbors(id, Direction::Outgoing, None, 50, None, None).unwrap();
db.close().unwrap();§Storage engine
Log-structured merge tree: WAL -> memtable -> immutable segments -> background compaction. Reads never block writes. Segments are memory-mapped for zero-copy access through the OS page cache.
§Language connectors
Native bindings for Node.js (napi-rs) and Python (PyO3) with full API parity.
Re-exports§
pub use engine::DatabaseEngine;pub use error::EngineError;pub use types::*;