# 22 — Replay kit

**Target length:** 8 minutes  
**Kernel on camera:** 2.74.26  
**Audience:** Operator with a quiet primary and Python 3. Do not RESET host01 CRM. compare-all RESET TESTDB wipes the workgroup testdb on the node you point at.

**YouTube title:** Replay VeloceDB benchmarks — public kit, not a certificate

## On-screen beats

1. https://veloce.tuce.app/benchmarks — labeled 2026-11-03 table, certifiedClaim false.
2. https://veloce.tuce.app/benchmarks/replay — four kit files.
3. `SHOW CLUSTER` on 1584 → `role: primary`.
4. `export VELOCE_BENCH_WG_HOST=` outward IP. Not 127.0.0.1 for ISAM.
5. Run `python3 compare-all.py` **or** show a prior `/tmp/veloce-compare-report.json` if the full 50k pass will not fit the cut.
6. Submit JSON on the site. Community row appears. Say it is not a certificate.

## GUI vs CLI

| Show in the GUI | Show in the terminal |
| --- | --- |
| /benchmarks and /benchmarks/replay | SHOW CLUSTER, compare-all.py, curl submit |

## Spoken script

“The published table is a labeled host03 run: fifty thousand insert then fifty thousand get, eight chatty clients, five-run pipe medians. certifiedClaim stays false. Anyone can replay. That is honesty, not a TPC publication.”

Open the replay page. Click protocol, compare-all.py, labeled JSON, KERNEL-SHA256.

“I only run this on a quiet primary. `SHOW CLUSTER` on fifteen eighty-four must say role primary. A replica skews SQL — forwarded — versus ISAM, which acks locally. I set `VELOCE_BENCH_WG_HOST` to the node outward IP. Loopback fifteen eighty-three is often in-memory tachyon, not the durable node.”

```text
SHOW CLUSTER
export VELOCE_BENCH_WG_HOST=<outward-ip>
python3 compare-all.py | tee /tmp/veloce-compare-$(date -u +%Y%m%dT%H%M%SZ).log
```

If you skip the full run on camera:

“The full pass takes minutes and RESET TESTDB wipes this workgroup testdb. I am submitting a JSON I already produced on a lab primary, not on host01 CRM.”

```text
curl -sS -X POST https://veloce.tuce.app/api/bench/submit \
  -H 'Content-Type: application/json' \
  --data-binary @/tmp/veloce-compare-report.json
```

Refresh /benchmarks/replay.

“Community list. Not mixed into the published table. Not a third-party letter. If you want that letter, a lab re-runs this protocol and signs their JSON. We do not flip certifiedClaim ourselves.”
