madapes

edge_storage (0.1.12)

Published 2026-02-11 07:39:29 +00:00 by vlad

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add edge_storage@0.1.12

About this package

High-performance embedded data store powered by libmdbx for edge scenarios

EdgeStorage

A high-performance, embedded data store written in Rust, powered by libmdbx. Optimized for edge scenarios: local state for event-sourcing aggregates and high-speed TTL caching.

Features

  • Core KV Store - Binary keys/values, point lookups, range scans, atomic batched writes
  • Event Sourcing - Versioned snapshots with strict monotonicity and efficient latest-state tracking
  • TTL Cache - Time-based expiration with lazy deletion and active cleanup
  • Multi-Language - Stable C-ABI with bindings for Node.js, Go, and Zig

Performance Targets

  • Write throughput: >100,000 writes/sec (10ms batches on NVMe)
  • Read latency: Sub-microsecond point reads via memory-mapping
  • Full ACID compliance with durable commits

Documentation

Status

In Development - See ROADMAP.md for current progress.

Dependencies

ID Version
crossbeam-channel ^0.5
libmdbx ^0.6
parking_lot ^0.12
thiserror ^2
criterion ^0.5
tempfile ^3
cbindgen ^0.28

Keywords

embedded database mdbx kv-store event-sourcing
Details
Cargo
2026-02-11 07:39:29 +00:00
12
MadApes
MIT
51 KiB
Assets (1)
Versions (8) View all
0.1.17 2026-03-27
0.1.16 2026-02-15
0.1.15 2026-02-14
0.1.14 2026-02-13
0.1.13 2026-02-11