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

BlockFetch protocol limit #2624

Merged
merged 1 commit into from
Sep 23, 2020
Merged

Conversation

coot
Copy link
Contributor

@coot coot commented Sep 21, 2020

@coot coot added block-fetch Issues related to block fetch component. networking node-to-node Issues and PRs relate to node-to-node protocols labels Sep 21, 2020
@coot coot requested a review from njd42 September 21, 2020 12:32
@coot coot force-pushed the coot/block-fetch-protocol-limits branch from ffb4508 to f8970b3 Compare September 22, 2020 06:12
@coot coot requested a review from karknu September 22, 2020 06:12
Copy link
Contributor

@semanticphilosopher semanticphilosopher left a comment

Choose a reason for hiding this comment

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

I have a concern as to how this may effect bulk download. Correct me if I'm wrong, but this represents the total data in flight during a bulk block fetch; I assume that we are ack-ing the blocks (probably implicitly by asking for more). This makes it analogous to the role of the TCP congestion window (from a performance perspective). My concern is will 6.4Mb of inflight data be sufficient to hide latency to achieve reasonable throughput for peers that are "reasonably" distant (i.e not in same data centre, but on same continent).

@coot
Copy link
Contributor Author

coot commented Sep 23, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 23, 2020

👎 Rejected by too few approved reviews

Copy link
Contributor

@njd42 njd42 left a comment

Choose a reason for hiding this comment

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

lgtm

@coot
Copy link
Contributor Author

coot commented Sep 23, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 23, 2020

@iohk-bors iohk-bors bot merged commit de2ec35 into master Sep 23, 2020
@iohk-bors iohk-bors bot deleted the coot/block-fetch-protocol-limits branch September 23, 2020 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block-fetch Issues related to block fetch component. node-to-node Issues and PRs relate to node-to-node protocols
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants