Hedged Request Lab
Help client developers evaluate delayed duplicate requests for safe reads. Send a second attempt only after a configurable delay, accept the first valid response, and record cancellation, late completion and duplicate service work separately. Export a bounded HTTP client and a latency-versus-work report from controlled local endpoints.
Hedged-read client, controllable endpoint fixtures and latency/work comparison receipt
Hedged Request Lab in 4 stages
Measure the extra work required to escape a slow read request.
Measure safe-read latency
Summarize observed samples without inventing a performance guarantee.
starter · ~2 hours · Go
percentilessafe readsmeasurementSchedule delayed duplicate attempts
Launch a second safe read only when the delay expires before a winner.
core · ~2 hours · Go
timersoverlapdeadlineValidate winners and account for late work
A fast error cannot win, and cancellation is an observation rather than a billing guarantee.
core · ~2 hours · Go
valid winnerlate resultscancellationExport latency and duplicate-work tradeoffs
Report both faster responses and the extra requests that produced them.
core · ~2 hours · Go
comparison receiptservice workconsumer