Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmsc818fall2023projects
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Keleher
cmsc818fall2023projects
Commits
6661bf7e
Commit
6661bf7e
authored
1 year ago
by
Peter J. Keleher
Browse files
Options
Downloads
Patches
Plain Diff
auto
parent
0c61299a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
notes/rabia.md
+45
-0
45 additions, 0 deletions
notes/rabia.md
notes/rabiaFlow.png
+0
-0
0 additions, 0 deletions
notes/rabiaFlow.png
notes/rabiaVsMultiPaxos.png
+0
-0
0 additions, 0 deletions
notes/rabiaVsMultiPaxos.png
with
45 additions
and
0 deletions
notes/rabia.md
0 → 100644
+
45
−
0
View file @
6661bf7e
# Rabia: Simplifying State-Machine Replication Through Randomization
Claims are that:
-
simpler
-
no failover (no leader elections)
-
trivial subsidiary protocols: log-trimming, snapshotting,
*reconfiguration*
-
faster
-
1.5x times faster than epaxos in
*stable*
single zone, 3 replicas
-
comparable in multi-zone or larger quorums
-
despite!
-
more msg delays
-
3 min
-
5 average
-
quadratic msg complexity
-
long tail latency
-
byzantine papers to look at:
-
honeybadger
-
algorand


Definitions:
-
*weak validity:*
choose either value proposed by client or NULL
($
\b
ottom$) ($$
\b
ottom$$)
Challenges:
-
staying on fast path whenever possible
-
avoiding long tail latency in stable environments
Each replica can discard slot
*j*
or take a snapshot once it has executed the request stored in the slot. Why?
-
no need for leader selection (raft)
-
is this enough to bring lagging replicas up-to-date?
Weak-MVC is guaranteed to use the fast path if:
-
all replicas have the same proposal
-
no majority of the replicas propose the same request
-
prefer to output a null case because otherwise multiple requests might fight, leading to long tail
-
during time to discard a slot, most replicas will have same
request, and
*min priority queue*
results in most agreeing right
away, i.e., fast path
This diff is collapsed.
Click to expand it.
notes/rabiaFlow.png
0 → 100644
+
0
−
0
View file @
6661bf7e
265 KiB
This diff is collapsed.
Click to expand it.
notes/rabiaVsMultiPaxos.png
0 → 100644
+
0
−
0
View file @
6661bf7e
355 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment