FeOxDB

Embedded key-value store in Rust with write-behind durability

Image 1 of 1: FeOxDB crate documentation with its features and durability trade-offs

Reads go through an SCC hash map, and writes land in sharded buffers that background workers flush in batches, with io_uring on Linux. Compare-and-swap, atomic counters, TTLs and RFC 6902 JSON Patch are built in.

  • ~180-205 nsGET (M3 Max)
  • ~630-970 nsINSERT (M3 Max)
  • 3.8M ops/sMixed 80/20

Trade-offs

  • Write-behind instead of fsync per write. Operations return immediately, but a crash can lose up to 64 MB on 4 shards.
  • ACI with relaxed durability. Most operations stay fast, and store.flush() gives fsync-level guarantees after critical writes.

Q&A3

The window is 100ms + 16MB / 4KB_random_write_QD1_throughput, with up to 16 MB per shard at risk: at 50 MB/s, that is 420 ms and up to 64 MB on 4 shards.

Reviews

Loading reviews

    More in Performance

    See all 47 →
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • EntrolyLocal context layer that picks what coding agents send to the model
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • GlydLossless compression that keeps bf16 weights and KV cache smaller on the GPU

    More in Database internals

    See all 29 →
    • PaganelData migration engine that verifies the destination down to the row
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • RuvioRust key-value server that speaks RESP, with locks and queues as commands
    • musqlSQLite-compatible SQL engine on columnar storage and a JIT
    • EgresPostgres-compatible database in Zig for heavy, multi-tenant workloads
    • MongrelDBEmbedded Rust database with vector, sparse and text indexes

    More in Rust

    See all 146 →
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • ZeroboxDeny-by-default process sandbox with per-host secret injection