Oakleaf Engineering Notes

Working notes on distributed storage, consensus protocols, and Linux I/O paths.

Page Cache Writeback Latency under Direct NVMe Queues

When tuning background writeback ratios on modern 6.x kernels, bounding dirty throttling thresholds avoids tail latency spikes across concurrent WAL fsync bursts while preserving sequential throughput.

Deterministic Raft Lease Reads in Regional Clusters

Relying on monotonic kernel clock bounds allows leader lease reads without full quorum round-trips when bounded clock drift guarantees hold across availability zones.