{"id":37741276,"url":"https://github.com/haochenpan/rabia","last_synced_at":"2026-01-16T14:10:06.766Z","repository":{"id":47143104,"uuid":"394328646","full_name":"haochenpan/rabia","owner":"haochenpan","description":"Rabia: Simplifying State-Machine Replication Through Randomization (SOSP 2021)","archived":false,"fork":false,"pushed_at":"2023-03-16T15:19:59.000Z","size":61645,"stargazers_count":37,"open_issues_count":2,"forks_count":12,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-01-29T21:15:57.155Z","etag":null,"topics":["consensus","distributed-systems","fault-tolerance","formal-verification","reliability","state-machine-replication"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haochenpan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-08-09T14:45:36.000Z","updated_at":"2024-01-13T21:30:35.000Z","dependencies_parsed_at":"2023-09-25T06:58:07.625Z","dependency_job_id":null,"html_url":"https://github.com/haochenpan/rabia","commit_stats":{"total_commits":103,"total_committers":13,"mean_commits":7.923076923076923,"dds":0.5242718446601942,"last_synced_commit":"bcc5545fde5e57bb39e0657cdfe92e6159beccd5"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/haochenpan/rabia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haochenpan%2Frabia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haochenpan%2Frabia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haochenpan%2Frabia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haochenpan%2Frabia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haochenpan","download_url":"https://codeload.github.com/haochenpan/rabia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haochenpan%2Frabia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consensus","distributed-systems","fault-tolerance","formal-verification","reliability","state-machine-replication"],"created_at":"2026-01-16T14:10:06.713Z","updated_at":"2026-01-16T14:10:06.761Z","avatar_url":"https://github.com/haochenpan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rabia\n\n## Introduction\n\nWe introduce Rabia, a simple and high performance framework for implementing state-machine replication (SMR) within a datacenter. The main innovation of Rabia is in using _randomization_ to simplify the design. Rabia provides the following two features: (i) It does not need any fail-over protocol and supports trivial auxiliary protocols like log compaction, snapshotting, and reconfiguration, components that are often considered the most challenging when developing SMR systems; and (ii) It provides high performance, up to 1.5x higher throughput than the closest competitor (i.e., EPaxos) in a favorable setup (same availability zone with three replicas) and is comparable with a larger number of replicas or when deployed in multiple availability zones.\n\nOur SOSP paper, \"[Rabia: Simplifying State-Machine Replication Through Randomization](https://dl.acm.org/doi/10.1145/3477132.3483582),\" describes Rabia's design and evaluations in detail ([SOSP Artifact Review Summary](https://sysartifacts.github.io/sosp2021/summaries/rabia.html)) and earns three badges: artifact available, artifact evaluated, and artifact reproduced. \n\n#### Project Keywords: \n- state-machine replication (SMR), consensus, and formal verification\n\n#### CCS Concepts: \n- Computer systems organization → Dependable and fault-tolerant systems and networks; \n- Computing methodologies → Distributed algorithms.\n\n## Repository structure\n- deployment, internal, roles, and `main.go`: Rabia's implementation in Go and the project's auxiliary code\n- proofs: proof scripts for the core weak Multivalued consensus part of the Rabia protocol.\n- redis-raft: redis-raft related code and instructions\n- epaxos: compiled binaries of Paxos and EPaxos for cloudlab machines from various branches in [(E)Paxos](https://github.com/zhouaea/epaxos) and \n  [(E)Paxos-NP](https://github.com/zhouaea/epaxos-single) codebases + scripts to run them\n- docs: documentations, see below\n\n## Documentations\n\n[Paper errata](docs/errata.md) -- Errata of our paper\n\n[How to install and run Rabia](docs/run-rabia.md) -- install and run Rabia on a single machine or a cluster of machines\n\n[How to read Rabia's codebase](docs/read-rabia.md) -- an introduction to Rabia's implementation\n\n[Package-level comments](docs/package-level-comments.md) -- contains all Go packages' comments, some design assumptions\nand rationales, which can be served as an in-depth guide to this codebase. \n\n[Rabia's Roadmap and ToDos](docs/rabia-todo.md) -- for overarching objectives and and granular items\n\n[Developer notes](docs/notes-for-developers.md) -- contains FAQs and some miscellaneous hints for developers\n\n## Main contributors\n\nLewis Tseng, Joseph Tassarotti, Haochen Pan, Jesse Tuğlu, \nNeo Zhou, Tianshu Wang, Yicheng Shen, Andrew Chapman and Matthew Abbene -- Boston College\n\nRoberto Palmieri -- Lehigh University\n\nZheng Xiong -- The University of Texas at Austin\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaochenpan%2Frabia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaochenpan%2Frabia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaochenpan%2Frabia/lists"}