-
Notifications
You must be signed in to change notification settings - Fork 143
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
Preload blocks from multiple peers at a time #707
Conversation
bd6ec9c
to
6210fe2
Compare
It seems builds fail. 😢 |
6210fe2
to
1011189
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
3fd4ded
to
37cd5f1
Compare
Codecov Report
@@ Coverage Diff @@
## master #707 +/- ##
==========================================
+ Coverage 86.43% 86.65% +0.21%
==========================================
Files 226 231 +5
Lines 19496 20444 +948
==========================================
+ Hits 16852 17716 +864
- Misses 1432 1502 +70
- Partials 1212 1226 +14
|
0598b60
to
bbff23c
Compare
bbff23c
to
eabc62b
Compare
- Add delay to avoid timing issue - Loosen assertion - Loosen timeout - Adjust jitter
7345445
to
b312195
Compare
@planetarium/libplanet Rebased this on the current master. Please review this again! FYI only changelogs had been changed since then. |
Revert "Preload blocks from multiple peers at a time" (#707)
This reverts commit eb1e5e7.
This reverts commit eb1e5e7.
This reverts commit eb1e5e7.
This reverts commit eb1e5e7.
Restore BlockCompletion<T> (#707) and more
This patch makes IDL parallel by requesting chunks of blocks to multiple peers. As complexity of IDL logic grows up, I added a separated class named
BlockCompletion<T>
which has only a pure logic of dealing with block demands and completion without actual I/Os, and madeSwarm<T>.PreloadAsync()
method to use it.