Correctness Pass
17 / 17
100% queries passed
Peak Throughput
18,958
records / sec at scale
Concurrency Plateau
50 Users
Optimal throughput ceiling
Blended Memory
11,155 B
average bytes / row in store
Business Context: Acme Manufacturing
Simulating an industrial pump manufacturer with heterogeneous systems grown organically across four discrete backends:
- ERP (PostgreSQL): Authoritative supply chain (suppliers, parts, work orders, line items).
- PLM (MongoDB): Engineering specs and recursive bill-of-materials graph trees.
- Supplier Registry (REST): Third-party supplier master with deliberate 200–800ms wire jitter.
- Shop-Floor Bus (Kafka): Telemetry streaming and shift lifecycle events.
- CMMS (MySQL): Equipment master and machine maintenance contracts.
Test Environment & Network Jitter
Roots never talks to local databases over zero-latency shortcuts. Every backend connection is routed through Toxiproxy to simulate true enterprise wire latency:
| Target Source | Protocol | Wire Latency | Jitter |
|---|---|---|---|
| PostgreSQL ERP | Database Pool (100) | 12 ms | ±8 ms |
| MongoDB PLM | Mongo Pool (100) | 20 ms | ±10 ms |
| Supplier REST API | HTTP REST | 500 ms | ±300 ms |
| Kafka Telemetry | Streaming Bus | 10 ms | ±5 ms |
| MySQL CMMS | Database Pool (75) | 12 ms | ±8 ms |
Key Query Suite & Correctness Pass
Tested against industry-standard patterns (TPC-H analytics, LDBC-SNB graph traversal, TPCx-IoT ingest, YCSB point-read, and TPC-BiH time-travel):
| Query ID | Description & Operation | Residency | Status | Latency (p50) |
|---|---|---|---|---|
Q1 |
On-time supplier ranking (cross-source view) | MATERIALIZED | PASS | 851 ms |
Q2 |
Product cost rollup (ERP + Mongo BOM) | MATERIALIZED | PASS | 200 ms |
Q3 |
BOM explosion (recursive graph component traversal) | MATERIALIZED | PASS | 2,860 ms |
Q4 |
Machine OEE this shift (Kafka + CMMS + ERP) | LIVE | PASS | 2,361 ms |
Q5 |
Work-order status point-read (by business key) | LIVE | PASS | 126 ms |
Q6 |
Supplier master demand-fill point-read | CACHED | PASS | 14 ms |
Q7 |
Line-item scan & filter (total > 1000) | MATERIALIZED | PASS | 105 ms |
Q8 |
BOM node historical as-of query (time-travel) | MATERIALIZED | PASS | 67 ms |
Q9 |
Part state as-of (platform-owned version chain) | MATERIALIZED | PASS | 53 ms |
Q10 |
Supplier-cert change history (compliance audit-trail) | AUDIT ROLE | PASS | 4,811 ms |