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

Message propagation improvement #2902

Merged
merged 6 commits into from Mar 10, 2020
Merged

Message propagation improvement #2902

merged 6 commits into from Mar 10, 2020

Conversation

nzpr
Copy link
Collaborator

@nzpr nzpr commented Mar 7, 2020

Result of WIP in of #2897 and #2891

This PR enable discarding of duplicate messages to lower down load on Casper and system in general.
Moreover, bloat was found in consumption of streamed GRPC messages (blocks) which lead to over a hundred of messages waiting for processing as per tmp/comm. It is fixed as well.

As a result, we can see nodes advancing nicely when creating blocks simultaneously (synchrony constraint 0.67).
Screenshot 2020-03-07 at 13 19 11

Notes

Optional. Add any notes on caveats, approaches you tried that didn't work, or anything else.

Please make sure that this PR:

Bors cheat-sheet:

  • bors r+ runs integration tests and merges the PR (if it's approved),
  • bors try runs integration tests for the PR,
  • bors delegate+ enables non-maintainer PR authors to run the above.

Copy link
Collaborator

@tgrospic tgrospic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work and bug fix! Some comments about the logs and minor changes.

Copy link
Collaborator

@zsluedem zsluedem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good. But the tests are still failing

@nzpr nzpr force-pushed the block-propagation branch 3 times, most recently from 899a166 to 2c59e8c Compare March 9, 2020 12:30
@nzpr nzpr force-pushed the block-propagation branch 2 times, most recently from 78fd6b0 to 871d0ce Compare March 9, 2020 20:00
@nzpr
Copy link
Collaborator Author

nzpr commented Mar 10, 2020

I'm leaving schedulers tuning for future PR. We should investigate whats the best way.

Copy link
Collaborator

@zsluedem zsluedem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Good one!

@zsluedem
Copy link
Collaborator

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 10, 2020

Build succeeded

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

Successfully merging this pull request may close these issues.

None yet

3 participants