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

Andrew7234/parallelize data fetch #736

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

Andrew7234
Copy link
Collaborator

Fetching data for a single block in consensus takes ~2.2 sec according to grafana:
Screenshot 2024-08-09 at 2 08 14 PM

This PR parallelizes some of the grpc calls. Based on local testing using the port-forwarded node, the per-block time averages around 1.2sec, with occasional spikes to 1.9.

@Andrew7234 Andrew7234 requested review from pro-wh and ptrus as code owners August 9, 2024 18:10
Copy link
Collaborator

@pro-wh pro-wh left a comment

Choose a reason for hiding this comment

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

seems ok yeah

@Andrew7234 Andrew7234 force-pushed the andrew7234/parallelize-data-fetch branch from 7344092 to 5755374 Compare August 9, 2024 19:53
changelog make linter happy
@Andrew7234 Andrew7234 force-pushed the andrew7234/parallelize-data-fetch branch from 37c968d to e452502 Compare August 9, 2024 22:59
@Andrew7234 Andrew7234 merged commit c466e41 into main Aug 9, 2024
16 checks passed
@Andrew7234 Andrew7234 deleted the andrew7234/parallelize-data-fetch branch August 9, 2024 23:13
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.

2 participants