Enable 2 round trip receipts#999
Merged
ashamis merged 2 commits intomicrosoft:masterfrom Apr 1, 2020
ashamis:nonce_4
Merged
Conversation
|
nonce_4@6897 aka 20200401.9 vs master ewma over 50 builds from 6095 to 6892 |
|
nonce_4@6559 aka 20200326.36 vs master ewma over 30 builds from 6121 to 6551 |
olgavrou
reviewed
Mar 30, 2020
olgavrou
reviewed
Mar 30, 2020
achamayou
approved these changes
Mar 31, 2020
olgavrou
approved these changes
Apr 1, 2020
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.


Each pre-prepare and prepare are given a hash of a nonce and then in the reply we send the plain text nonce to the client-proxy.
To get two-round-trips latency, replicas would return a reply to the client-proxy after getting a pre-prepare and 2f matching prepares. The client-proxy will get its reply and receipt before the request is committed in the ledger, but we guarantee that the request is eventually committed to the ledger or we can prove that some replicas are malicious.