Stream Demo
Real validation engine Β· no Kafka Β· no database writes
ContractGate throughput
0ev/s
0 forwarded
Overhead vs baseline
β%
β Β΅s Β· validation cost (p99)
Producer
0ev/s
0 sent
Elapsed
0.0s
β
Throughput β events / sec
Waiting for dataβ¦
ContractGate validatorgenerate β validate β forward
Rate
0ev/s
Consumed
0
Forwarded
0
p50
0 Β΅s
p95
0 Β΅s
p99
0 Β΅s
max
0 Β΅s
Straight-copy baselinegenerate β serialize only (no validation)
Rate
0ev/s
Consumed
0
Forwarded
0
p50
0 Β΅s
p95
0 Β΅s
p99
0 Β΅s
max
0 Β΅s
passthrough β no checks
How it works: Both lanes run in-process inside the Rust server β no Kafka, no database. The ContractGate lane calls the real semantic validation engine on every event. The copy lane does a serde round-trip only (no validation). The latency delta between them is the exact cost of semantic validation. The full Kafka-backed demo (
cargo demo) adds real queue depth and network overhead on top.