Measured performance lab

Measured throughput,
latency & saturation.

Direct numbers from in-cluster monofs-loadgen and doctor-loadgen runs on a 3-node Kubernetes cluster (32-vCPU host), gated DOCTOR_LOADTEST=1 150k-target chaos suites, plus standalone nzip R&D codec benchmarks.

15,123 / s 4 KiB MonoFS reads · c=128
56,329 / s Metadata ops/s · c=64 · p99 4.39 ms
43,800 / s Doctor OTLP ingest saturation
14,270 / s LB-Edge L4 TCP proxy · p99 11.5 ms

Per-plane measured numbers

Throughput & tail latency
across every plane.

Measured on a 3-node kind-strata cluster (32-vCPU host) with direct gRPC and LB-Edge proxy paths active and OTLP instrumentation enabled.

MonoFS 4 KiB Read Concurrency Scaling & LB-Edge Path

ops/s on 3-node cluster · p50 to p99 latencies
Direct Read, c=1
582 ops/s · p99 3.3 ms
Direct Read, c=4
2,041 ops/s · p99 3.8 ms
Direct Read, c=16
6,712 ops/s · p99 5.8 ms
Direct Read, c=64
13,890 ops/s · p95 9.0 ms
LB-Edge Proxy, c=64
14,270 ops/s · p99 11.5 ms
Direct Read, c=128
15,123 ops/s · p99 22.3 ms
Subsystem Workload Throughput Latency Notes
MonoFS 4 KiB Read, c=128 (cluster) 15,123 ops/s p50 7.02 ms · p99 22.34 ms ~17k ops/s per node @ 8–10 ms p99
MonoFS Metadata, c=64 56,329 ops/s p50 0.87 ms · p99 4.39 ms getattr p95 0.69 ms · readdir p95 0.47 ms
MonoFS Batch Ingest (1,000 files/batch) ≈284k files/s p50 27.22 ms · p99 54.07 ms 284 batches/s across HRW Pebble nodes
MonoFS 1 MiB Large-Blob Read, c=16 192 ops/s (192 MB/s) p95 149 ms Range-cached fetcher read-through (4 KiB c=64 hits 13,890 ops/s @ p95 9.0 ms)
KVS (Raft) read_file · stat · list_dir sub-ms p95 0.28 · 0.23 · 0.27–0.72 ms Prefix-indexed directory pagination
LB-Edge L4 TCP Proxy, Read c=64 14,270 ops/s p50 4.05 ms · p99 11.46 ms Zero proxy bottleneck vs direct gRPC
Doctor Ingest OTLP Logs (batch 200) 43,800 rec/s p95 34 ms @ 20k · 210.7 ms peak Pre-WAL HMAC tokenization active
Doctor Query PromQL (1k / 2k offered RPS) 1,005 / 1,888 ops/s p95 22 ms / 54 ms Singleflight dedup · 716 ops/s (p95 187 ms) on 5 varied queries
Doctor Guardrails Range Cap & Client Cancel ~1 ms reject (11k pts) < 1s drain to 0 inflight 30d/1s rejected HTTP 400; up instant query ~30 ms
Agent /api/health & /api/ready 499 / 50 RPS p50 9.3 ms / 3.6 ms p95 25.9 ms on cached health endpoint

Full-stack matrix · kind-strata

Load, Soak &
Recovery Matrix.

Warm-up 5s, measurement window 10s per point, plus a 3-minute continuous mixed soak (2.18M ops) and post-failover recovery check.

Workload Throughput p50 p95 p99
MonoFS Read 4 KiB, c=1 582 ops/s1.62 ms2.62 ms3.31 ms
MonoFS Read 4 KiB, c=16 6,712 ops/s2.18 ms4.00 ms5.81 ms
MonoFS Read 4 KiB, c=64 11,628 ops/s4.31 ms10.27 ms15.02 ms
MonoFS Read 4 KiB, c=128 15,123 ops/s7.02 ms16.18 ms22.34 ms
LB-Edge Proxy Path (Read c=64) 14,270 ops/s4.05 ms8.15 ms11.46 ms
MonoFS Metadata, c=64 56,329 ops/s0.87 ms2.74 ms4.39 ms
MonoFS Ingest, batch 100 808 batches/s (≈80.8k files/s)8.96 ms18.11 ms41.28 ms
MonoFS Ingest, batch 1000 284 batches/s (≈284k files/s)27.22 ms42.11 ms54.07 ms
Mixed 80/20 Soak (3 min · 2.18M ops) 12,135 ops/s2.31 ms5.14 ms8.19 ms
Post-Failover Recovery (node-c restarted) 13,016 ops/s2.27 ms4.12 ms5.72 ms
Doctor OTLP Ingest (5k target) 4,800 rec/s14.90 ms39.93 ms57.34 ms
Doctor OTLP Ingest (20k target) 20,000 rec/s26.84 ms51.72 ms108.15 ms
Doctor OTLP Ingest (50k saturation) 43,800 rec/s113.02 ms210.66 ms306.59 ms

Post-failover recovery ran at 13,016 ops/s after node-c returned. Per-node CPU throttling under steady-state load stays at 0.004 cores/s.

50k pushers · 150k targets

Scale & Chaos
Test Budgets.

Hard performance and chaos invariants enforced in CI via DOCTOR_LOADTEST=1 and MONOFS_LOADTEST=1.

Test Suite Scale / Fault Injection Enforced Budget
TestFederationPlanner150kBudget 150,000 targets · linear catalog sort/dedup + scoped query planner Build < 5s · p99 < 5 ms · Heap < 2 GB
TestMonoFSSnapshotStore300ShardsBudget 300 SHA-256 verified shards saved & loaded across 16 workers Load < 10s
TestPartitionForAWS50kLookupBudget 50,000 compiled AWS policy bindings × 1,000,000 lookups < 2s total
TestFederationFanoutChaos 32 targets × 100 concurrent queries (30% err, 10% slow, 5% throttled) < 15s · ≤ 64 inflight · partial warnings
TestFederationTokenBundle50k 50,000 pusher tokens across 256 AES-256-GCM encrypted shards Zero leaked tokens · lazy load
TestFederationReloadUnderLoad Atomic catalog hot-swaps under concurrent query storm Zero mixed-planner reads

Standalone R&D · nzip codec (not yet integrated into Strata)

Standalone codec R&D
vs standard compressors.

Experimental standalone deterministic codec — not yet wired into Doctor or MonoFS runtime (stream.Writer/stream.Reader is the planned integration seam). Measured compressing raw uncompressed OTel/JSON spans (7.4 MB holdout, 20,000 spans with ~25% irreducible hex IDs) at 13.2 MB/s across 32 threads (0.99 MB/s/core encode, 0.94 MB/s/core decode at H=32 in go test -bench ./codec on i9-13900KF).

go test -bench ./codec (1 MiB Raw OTel/JSON Spans) Compress (1 Core) Decompress (1 Core) Profile / Notes
H=16 (GRU + Context + Arithmetic Coder) 1.53 MB/s 1.50 MB/s Fastest neural profile for homogeneous OTel schemas
H=32 (Default Balanced Neural Profile) 0.99 MB/s 0.94 MB/s 13.2 MB/s parallel across 32 threads on 7.4 MB holdout
H=64 (Archival Neural Profile) 0.54 MB/s 0.52 MB/s Higher hidden capacity for mixed/diverse attribute sets
MatchOnly (No GRU) 3.16 MB/s — Match model + arithmetic coder baseline on 1 MiB OTel JSON

7.4 MB OTel/JSON Holdout (Smaller is Better)

20,000 spans · nzip H=32, blocks
nzip H=32 (blocks)
611,579 B · 0.66 bpb
bzip2 -9
642,858 B · 0.69 bpb
zstd -19 --long
667,324 B · 0.72 bpb
xz -9e
670,440 B · 0.72 bpb
gzip -9
791,211 B · 0.85 bpb

20 Generated Images (2.79 MB, Auto Stride)

nzip auto-selects row delta / Paeth predictor
nzip (image profile)
1,683,407 B · 0.603
xz -9e
2,039,208 B · 0.731
bzip2 -9
2,065,021 B · 0.740
gzip -9
2,374,956 B · 0.851
zstd -19
2,391,291 B · 0.857
1 MB Slice Predictor Ablation Bytes Bits/Byte
full (gru + match + table + run) 84,8500.679
gru + match + run 86,5420.692
gru + table + run 89,6280.717
gzip -9 (reference) 97,6730.781
match + table + run (no GRU) 97,7880.782
gru only 112,4090.899
match only 158,2331.266
table only (order-2) 180,2841.442
run only 538,3554.307
1 GB enwik9 & Small-Batch Numbers

Out-of-domain & streaming results

On the 1 GB Hutter Prize corpus (enwik9, trained on a 32 MB enwik8 prefix), nzip (H=32) finished in 2m 41s at 2.1 GB RSS (6.2 MB/s):

  • nzip: 249,465,417 B (0.2495) — smaller than bzip2 -9 (254.0 MB) and gzip -9 (322.6 MB).
  • Reference gap: xz -9e reaches 211.8 MB and the 2026 Hutter record fx2-cmix-T reaches 100.4 MB (2.48×) because natural-language prose rewards order 4–8 contexts.
  • Small telemetry batches: session mode packs 64×2 KB batches into 7.2 KB (vs 18.2 KB independent blocks); an 8 KiB dictionary compresses a 50 KB stream to 4.0%; a 137 KB gradient BMP packs to 87 bytes.

Operational honesty

Measured ceilings &
open hotspots.

Current Bottlenecks & Saturation Limits

Where the stack currently hits physical ceilings

  • Doctor OTLP ingest ceiling (~43.8k rec/s): Sustains 20,000 rec/s at p95 34 ms and saturates near 43,800 rec/s (p95 210.7 ms) bound by downstream ClickHouse write throughput.
  • 1 MiB large-blob tail latency: Range-cached 1 MiB reads run at 192 ops/s (192 MB/s, p95 149 ms), while stale missing .state blobs can still produce p99 outliers on cold S3 lookups.
  • Scoped federation cap (32 targets/query): Live multi-account fan-out caps at 32 targets per query and 64 global inflight requests; broad unscoped fleet queries return HTTP 422 by design.