Documentation
¶
Overview ¶
Command benchrelay forwards loopback HTTP model traffic inside a networkless benchmark task container to the provider proxy's Unix socket.
The benchmark adapter copies it into each task container next to the Peen binary. Peen calls the model at the loopback address, and the relay passes each request to the socket named by BENCH_SOCKET, which the host proxy serves. When BENCH_TRIAL is set, every request carries it in the X-Bench-Trial header, so the proxy can tell trials apart and apply the trial's fault schedule. See docs/benchmarks.md.
Click to show internal directories.
Click to hide internal directories.