Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measure tx latency in solana-bench-tps. #3190

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

artemii235
Copy link

@artemii235 artemii235 commented Oct 16, 2024

Definition

Transaction latency refers to the time it takes for a transaction to be broadcast to the node via RPC and then included to the block with desired commitment level: confirmed and/or finalized.

Summary of Changes

This PR adds possibility to measure latency of randomly chosen transactions sent to the node during solana-bench-tps runs.

  • Added measure-tx-latency argument to solana-bench-tps that enables measurement.
  • Added latency-sleep-ms argument that controls per-iteration delay between transaction status requests.
  • Measurements are exported as "ext-tx-latency-confirmed" and "ext-tx-latency-finalized" datapoints.
  • Updated metrics dashboard to display latency measurements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant