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

v1.18: add metric for duplicate push messages (backport of #321) #505

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Mar 29, 2024

Problem

We don't have any insight into what percentage of gossiped crds values are duplicates (or redundant)

Summary of Changes

Add a metric:

  • num_duplicate_push that reports the number of duplicate CrdsValues received via push.
  • num_total_push that reports the total number of CrdsValues received via push

200 node test cluster on Monogon shows about 53% of Push messages are duplicates

fraction_duplicate_push


This is an automatic backport of pull request #321 done by [Mergify](https://mergify.com).

* add metric for duplicate push messages

* add in num_total_push

* address comments. don't lock stats each time

* address comments. remove num_total_push

* change dup push message name in code to reflect metric name

(cherry picked from commit 04feed2)
@gregcusack gregcusack added the automerge automerge Merge this Pull Request automatically once CI passes label Mar 29, 2024
@mergify mergify bot merged commit 8d2ae41 into v1.18 Mar 29, 2024
36 checks passed
@mergify mergify bot deleted the mergify/bp/v1.18/pr-321 branch March 29, 2024 20:36
anwayde pushed a commit to firedancer-io/agave that referenced this pull request Jul 23, 2024
…) (anza-xyz#505)

add metric for duplicate push messages (anza-xyz#321)

* add metric for duplicate push messages

* add in num_total_push

* address comments. don't lock stats each time

* address comments. remove num_total_push

* change dup push message name in code to reflect metric name

(cherry picked from commit 04feed2)

Co-authored-by: Greg Cusack <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants