Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

grandpa: filter some telemetry events on larger voter sets #4700

Merged
merged 1 commit into from
Jan 21, 2020

Conversation

andresilva
Copy link
Contributor

The GRANDPA client sends telemetry events upon receiving a new vote or commit. These events are then used to produce a visualization of the round state. With a high number of authorities, say 150, every node will be sending ~300 telemetry events per round, for a total of ~45000 events. Currently on the Kusama network, a round usually takes less than a second to complete. @arkpar mentioned that formatting of these telemetry events showed up in the memory profiler. With a validator set of that size the visualization UI is also unusable, therefore we will filter sending these telemetry events if the validator set size is bigger than 10.

@andresilva andresilva added A0-please_review Pull request needs code review. M4-core labels Jan 21, 2020
@bkchr
Copy link
Member

bkchr commented Jan 21, 2020

We should have an issue to fix these telemetry macros.

@bkchr bkchr merged commit cf020ad into master Jan 21, 2020
@bkchr bkchr deleted the andre/filter-telemetry-events branch January 21, 2020 21:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants