Add Zephyr Consensus & Performance Lab - #13
Draft
the-code-learner wants to merge 39 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Introduces the first Zephyr Consensus & Performance Lab milestone and fixes the recovery gaps exposed by repeated partition testing.
Canonical performance definition
Multi-validator conformance harness
api.Server, ledger, consensus automation and HTTP peer transport in-processRecovery gaps found and fixed by the Lab
Repeated 4/3 fault testing exposed an important integration case: after a partition heals, enough validators can sign the same proposal to finalize a block while some signers still have not materialized the committed block. Requiring quorum snapshots alone cannot immediately recover every lagging validator.
This PR adds certified block catch-up without weakening snapshot or consensus quorum:
Benchmarks
First hosted-runner baseline
Development baseline only, not a production-capacity claim. One successful AMD EPYC 7763 GitHub-hosted run with 7 validators and 32 finalized transfers/block reported approximately:
A separate verifier landed in the same rough range (~44.3 finalized tx/s). Shared-runner variance is expected; numerical regression gates wait for a controlled reference machine.
CI gate
gofmt,go vet ./..., fullgo test ./..., wallet audit and build remain requiredThis milestone is intentionally before storage/execution redesign, libp2p/QUIC and WASM: the canonical benchmark and profiles should decide which performance architecture change comes first.