Repository navigation
hotfix: head-lag Solana measured as a per-transaction race (cherry-pick of #2388) - #2389
Merged
Merged
Conversation
…port the trade; First to report panel (#2388) Solana has no on-chain timestamp below one second, so measuring each provider against the timestamp it sends compared conventions: Mobula's `date` is its ingestion time (a constant 0.10 s from Singapore, 0.01 s from Paris), Serialized's `at` is blockTime in whole seconds (0.75 s). Against a common clock the two feeds are 10 to 30 ms apart. No RPC WebSocket we can hold precedes their geysers: mainnet-beta and Helius land ~110 ms after both on every trade, Alchemy is level on half the trades and 3.5 s late or absent on the other half. race.go runs a per-transaction race on every chain from the deferred matcher's emissions, our node included: head_lag_first_total, head_lag_races_total and a rolling 24 h head_lag_first_share_pct. On raceChains (Solana) head_lag_seconds is the lag behind the first arrival; late pollers (GeckoTerminal, 15-100 s) are measured against the same first arrival for ten minutes. Validated from Paris over 11 trades: Mobula first 91 %, Serialized 27 % (ties count for both), node 0 %; headline Mobula 0.000 s, Serialized 0.010 s. Spec: methodology and FAQ rewritten for Solana, First to report metric panel, probe placement note (all three probes ran in Singapore until 2026-09-15). Claude-Session: https://claude.ai/code/session_01HJgbZCqjR4nvCfcJSzofbw Co-authored-by: Flotapponnier <florent@mobula.io> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> (cherry picked from commit 87dd01a)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick of #2388 only (harness race.go + spec), nothing else from dev. The three agg Railway probes build from main, so merging deploys them.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HJgbZCqjR4nvCfcJSzofbw