From ee7e23fe7c16c50293c7b893cddb7c05754ad767 Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Sat, 25 Jan 2025 03:52:54 +0200 Subject: [PATCH] Fix Typographical Errors in Documentation Files (#4124) * typos metrics.md * typos metrics.md * typos leader-rotation.md * typos rpc-transaction-history.md --- docs/src/clusters/metrics.md | 4 ++-- docs/src/consensus/leader-rotation.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/clusters/metrics.md b/docs/src/clusters/metrics.md index c162ed50117ca4..3405fab4001677 100644 --- a/docs/src/clusters/metrics.md +++ b/docs/src/clusters/metrics.md @@ -10,7 +10,7 @@ Each cluster node maintains various counters that are incremented on certain eve ## TPS -Each node's bank runtime maintains a count of transactions that it has processed. The dashboard first calculates the median count of transactions across all metrics enabled nodes in the cluster. The median cluster transaction count is then averaged over a 2 second period and displayed in the TPS time series graph. The dashboard also shows the Mean TPS, Max TPS and Total Transaction Count stats which are all calculated from the median transaction count. +Each node's bank runtime maintains a count of transactions that it has processed. The dashboard first calculates the median count of transactions across all metrics enabled nodes in the cluster. The median cluster transaction count is then averaged over a 2-second period and displayed in the TPS time series graph. The dashboard also shows the Mean TPS, Max TPS and Total Transaction Count stats which are all calculated from the median transaction count. ## Confirmation Time @@ -24,4 +24,4 @@ The validator software is deployed to GCP n1-standard-16 instances with 1TB pd-s solana-bench-tps is started after the network converges from a client machine with n1-standard-16 CPU-only instance with the following arguments: `--tx\_count=50000 --thread-batch-sleep 1000` -TPS and confirmation metrics are captured from the dashboard numbers over a 5 minute average of when the bench-tps transfer stage begins. +TPS and confirmation metrics are captured from the dashboard numbers over a 5-minute average of when the bench-tps transfer stage begins. diff --git a/docs/src/consensus/leader-rotation.md b/docs/src/consensus/leader-rotation.md index c65d91c7306176..8e6088e397f196 100644 --- a/docs/src/consensus/leader-rotation.md +++ b/docs/src/consensus/leader-rotation.md @@ -38,7 +38,7 @@ In this unstable scenario, multiple valid leader schedules exist. - A leader schedule is generated for every fork whose direct parent is in the previous epoch. - The leader schedule is valid after the start of the next epoch for descendant forks until it is updated. -Each partition's schedule will diverge after the partition lasts more than an epoch. For this reason, the epoch duration should be selected to be much much larger then slot time and the expected length for a fork to be committed to root. +Each partition's schedule will diverge after the partition lasts more than an epoch. For this reason, the epoch duration should be selected to be much larger then slot time and the expected length for a fork to be committed to root. After observing the cluster for a sufficient amount of time, the leader schedule offset can be selected based on the median partition duration and its standard deviation. For example, an offset longer then the median partition duration plus six standard deviations would reduce the likelihood of an inconsistent ledger schedule in the cluster to 1 in 1 million.