-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update block arrival histogram values #11424
Conversation
beacon-chain/sync/metrics.go
Outdated
Buckets: []float64{250, 500, 1000, 1500, 2000, 4000, 8000, 16000}, | ||
Buckets: []float64{100, 500, 1000, 4000, 8000, 12000}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the chart! I added 250 and 750 back
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK great. Are you sure you want to remove 1500 and 2000? That seems like common latency buckets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, you are right. I was worried that too many buckets might be bad, but then I realized there's not much downside to it. Thanks for the suggestions!
…labs/prysm into update-block-arrival-histogram
…labs/prysm into update-block-arrival-histogram
What does this PR do? Why is it needed?
Update the current block arrival histogram bucket value to align with our expectations. The best case is for the block to arrive within 100ms, then the block that arrives between 100 - 500ms is likely the second best. Any block to arrives passed one slot will be considered too late and will likely to be orphaned anyway
Which issues(s) does this PR fix?
N/A
Other notes for review
The effort to improve upon the block arrival histogram bucket is we want to begin monitoring block arrival time for reorg against late block proposal. The current bucket is not being looked at much