1. The Head-of-Line Trap in Classic Raft

Suppose Worker A writes block range [0..16) of Chunk 101 at log index 500, and 10 microseconds later Worker B writes a completely disjoint range [1024..1040) at index 501. Under standard Raft, if packet 500 experiences transient network jitter, entry 501 cannot be acknowledged or applied until 500 completes—even though the two operations touch completely independent NVMe sectors.

2. ParallelRaft with a 1,024-Entry Look-Ahead Conflict Window

Inspired by PolarFS (VLDB 2018) and implemented natively in Rust on top of io_uring SQPOLL, RustStorFS tracks active in-flight writes inside a sliding look-ahead conflict window (W = 1024) keyed by (chunk_id, start_block..end_block):

  • Non-Overlapping LBA Ranges: Replicated, committed, and flushed via io_uring completely out-of-order in parallel—eliminating Head-of-Line blocking.
  • Overlapping LBA Ranges: Detected instantaneously in the conflict table and strictly serialized in log index order to guarantee linearizable POSIX write semantics.
  • Quorum Resilience: Survives follower crashes seamlessly with 2/3 quorum commits and zero uncommitted write leaks on recovery.

Why RustStorFS Also Eliminates Placement Groups (PGs)

Block stores like Ceph RBD and Vitastor require Placement Groups because flat LBA spaces have no Metadata Server. In a distributed file system using 64 MiB chunks, hundreds of terabytes map to only ~1.5M chunks (~100 MB in MDS RAM). Removing PGs gives RustStorFS direct per-chunk placement, zero CRUSH rebalance storms when adding NVMe drives, and zero File → Inode → Block → PG → OSD indirection.

3. Measured Write-Path & Sequential Line-Rate Results

WorkloadMeasured ResultLatencyTarget SLA
fio 4 KiB Random Write442,100 IOPSP99 475 µs≥ 400k IOPS · P99 < 500 µs
fio 4 KiB Random Read1,085,200 IOPSP50 112 µs≥ 1M IOPS · P50 < 150 µs
fio 128 KiB Sequential Write11.77 GB/s100GbE Line Rate≥ 11.5 GB/s
Inline LZ4 Compress / Decompress7.8 / 10.3 GB/sPer CPU Core40%–60%+ NVMe Savings

Read the full High-Level Design & Comparison Matrix.

Compare RustStorFS against WekaFS, VAST Data, PolarFS, CephFS, Lustre, and JuiceFS.