Skip to content

fix wormhole bench: extend histogram buckets to 30min - #1404

Merged
Flotapponnier merged 1 commit into
devfrom
fix/wormhole-bucket-cap-eth-arb
Jul 24, 2026
Merged

fix wormhole bench: extend histogram buckets to 30min#1404
Flotapponnier merged 1 commit into
devfrom
fix/wormhole-bucket-cap-eth-arb

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Extend wormhole_vaa_latency_milliseconds buckets from 600_000ms cap to 1_800_000ms (30min)
  • New buckets: 900_000, 1_200_000, 1_800_000 (15/20/30 min)

Why

Ethereum and Arbitrum VAAs only sign after L1 Casper FFG finality (~12.8min ideal, up to ~19min real). With the previous 600_000ms bucket ceiling, histogram_quantile pinned Eth/Arb p50/p90/p99 all to 600s (the bucket edge), which is not the real latency.

Prior sample distribution: Ethereum 208/219 samples in +Inf, Arbitrum 5/5 in +Inf.

Deploy

  1. Merge dev, then cherry-pick to main
  2. VPS: rsync harness dir, direct docker build --no-cache, then docker compose up -d --force-recreate wormhole-vaa-latency
  3. Wait ~15 min for Ethereum samples to accumulate in new buckets (histogram bucket schema change means old samples are effectively "lost" from a query perspective - they still count but bucket boundaries shifted)

Test plan

  • After container recreation, /api/stat/wormhole-vaa-latency returns Ethereum/Arbitrum p50 in ~12-19 min range instead of 600s

@Flotapponnier
Flotapponnier merged commit 8009703 into dev Jul 24, 2026
1 check failed
@Flotapponnier
Flotapponnier deleted the fix/wormhole-bucket-cap-eth-arb branch July 24, 2026 23:18
Flotapponnier added a commit that referenced this pull request Jul 24, 2026
…ality (#1404) (#1405)

Co-authored-by: Florent Tapponnier <contact@mobula.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant