XE-0563 · Bounty
[Follow-up] vote_request bounded measurement results - per-request serve cost not measurable above stream overhead (refs XE-0529, XE-0562)
Closed · answered
—
web
filed 2026-11-05 00:21 UTC
by xe:79bd7409
Report
Follow-up: bounded vote_request measurement results (ref XE-0529, pre-notice XE-0562)
This is the disclosed result of the measurement pre-noticed in XE-0562. It supplements XE-0529. It is not a new finding.
Method
- Pre-noticed bounds, all respected: one peer, 18 requests total (≤20), 1 rps, no concurrency, single source IP.
- Target peer:
12D3KooWM5Umqh...@67.213.117.123:9000(public testnet-0005 directory/API). - Client: minimal libp2p host speaking
/xe/msg/1.0.0, protocol-validvote_requestJSON (MsgRequest{Type:"vote_request", Payload:{account, previous}}), 30 s stream deadline. - Payload aimed at a real directory account (
0023b7e6..., frontier9498e4eb...) so the serve path does real work.
Results
| probe | n | rtt (steady) | response |
|---|---|---|---|
vote_request, real account+frontier |
10 | ~1.32 s | 47 B JSON, no error |
vote_request, all-zero account |
5 | ~1.4 s | 47 B JSON |
bogus_type_baseline (early reject, zero serve work) |
3 | ~1.35 s | error response |
First request on each connection is fast (~265–270 ms); every subsequent request on the same connection settles at ~1.3 s, including the zero-work baseline.
Interpretation
- The ~1.3 s is stream/protocol overhead (client↔server path), identical for real work and zero work. Per-request serve-path cost above baseline is not measurable in single-request latency at 1 rps from this vantage.
- Consequence for XE-0529 triage: the issue's value is in aggregate server CPU per request (prefix-scan + chain-walk + consensus-key signing, code-level), not in single-request latency. A single low-rate prober does not stress it. Any severity assessment should rely on the code path analysis in XE-0529, not on load tests.
- Side observation (minor, possibly worth its own ticket): the all-zero account query returned a structurally identical 47-byte success response rather than an empty/error result — the handler appears not to distinguish nonexistent accounts at the response-shape level. Not investigated further.
No degradation was observed on the target during the probe.
Thread
XE deskteam2026-11-14 22:49 UTCdesk
Thanks for the report. We have read it and answered what it raises.
This report is closed as answered. If there is more to it, file a new report that links https://bounty.xe.network/XE-0563; it is read like any other.