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

performance: Speculative block assembly into master #4913

Draft
wants to merge 67 commits into
base: master
Choose a base branch
from

Conversation

algorandskiy
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Dec 15, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
5 out of 6 committers have signed the CLA.

✅ nicholasguoalgorand
✅ yossigi
✅ algorandskiy
✅ brianolson
✅ cce
❌ nicholasguo


nicholasguoalgorand seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

brianolson and others added 3 commits January 26, 2023 10:10
* workaround interface changes

* small tweaks, note TODOs

* cleanup
s/OnNewSpeculativeBlock/StartSpeculativeBlockAssembly/g
rm player.SpeculativeAssemblyDeadline

* simplify demux

* test fixes, works at least -short

* comment

* TODO comments

* expand StartSpeculativeBlockAssembly to take the block header digest

* wip: pool rehacking passes tests

* fix TestSpeculativeBlockAssemblyDataRace
better locking in tryReadSpeculativeBlock()
start thread in StartSpeculativeBlockAssembly()

* fix

* simplify SpeculativeBlockAssemblyGraceTime to SpeculativeAsmTimeOffset
remove player.SpeculativeAsmTimeDuration field

* improve speculative block assembly starting
start spec asm at filterTimeout-offset and again at soft-vote
cleanup

* lint cleanup

* nolint comment

* fix copyright header

* Post merge fixes

* fix GetCreatorForRound which was breaking e2e test

* make generate

* review comment

* SpeculativeAsmTimeOffset typo, 400ms

* algod_speculative_assembly_discarded metric

* start speculative assembly on proposal validation

* StartSpeculativeBlockAssembly(...,onlyIfStarted)

* algod_speculative_assembly_discarded_{start,read,ONB}

* code review feedback

* fix a test by ignoring intermittent speculative block action

Co-authored-by: Pavel Zbitskiy <[email protected]>
@cce cce marked this pull request as draft January 26, 2023 16:58
@cce cce changed the title WIP performance: Speculative block assembly into master performance: Speculative block assembly into master Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants