{"id":19362651,"url":"https://github.com/imdea-software/swiftpaxos","last_synced_at":"2025-04-13T11:10:31.523Z","repository":{"id":198715920,"uuid":"701373330","full_name":"imdea-software/swiftpaxos","owner":"imdea-software","description":"Prototype implementation of SwiftPaxos (NSDI 2024)","archived":false,"fork":false,"pushed_at":"2024-04-19T14:23:37.000Z","size":92,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T02:21:16.433Z","etag":null,"topics":["concensus","distributed-systems","key-value-store","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imdea-software.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-06T13:59:14.000Z","updated_at":"2025-01-11T10:50:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"125210d4-0bec-4e40-bb12-cd3f44187dee","html_url":"https://github.com/imdea-software/swiftpaxos","commit_stats":null,"previous_names":["imdea-software/swiftpaxos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imdea-software%2Fswiftpaxos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imdea-software%2Fswiftpaxos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imdea-software%2Fswiftpaxos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imdea-software%2Fswiftpaxos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imdea-software","download_url":"https://codeload.github.com/imdea-software/swiftpaxos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703199,"owners_count":21148118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["concensus","distributed-systems","key-value-store","state-machine-replication"],"created_at":"2024-11-10T07:29:48.991Z","updated_at":"2025-04-13T11:10:31.503Z","avatar_url":"https://github.com/imdea-software.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"SwiftPaxos: Fast Geo-Replicated State Machines\n==========\n[![Go Report Card](https://goreportcard.com/badge/github.com/imdea-software/swiftpaxos)](https://goreportcard.com/report/github.com/imdea-software/swiftpaxos)\n\nThis repository contains the prototype implementation of SwiftPaxos, a new state-machine replication protocol for geo-distributed systems.\nSwiftPaxos is a _faster Paxos without compromises_.\nIn the best case, it executes a state-machine command in two message delays (one round-trip), and three otherwise.\nSwiftPaxos was [presented](https://www.usenix.org/conference/nsdi24/presentation/ryabinin) at the 21st USENIX Symposium on Networked Systems Design and Implementation ([NSDI '24](https://www.usenix.org/conference/nsdi24)).\n\nInstallation\n------------\n\n    git clone https://github.com/imdea-software/swiftpaxos.git\n    cd swiftpaxos\n    go install github.com/imdea-software/swiftpaxos\n\nImplemented protocols\n---------------------\n\n|  Protocol               | Comments                                          |\n|-------------------------|---------------------------------------------------|\n| SwiftPaxos              | See our NSDI'24 [paper](https://www.usenix.org/conference/nsdi24/presentation/ryabinin) for the full details.|\n| Paxos                   | The classic Paxos protocol.                       |\n| N\u003csup\u003e2\u003c/sup\u003ePaxos      | All-to-all variant of Paxos.                      |\n| CURP                    | CURP implemented over N\u003csup\u003e2\u003c/sup\u003ePaxos.         |\n| Fast Paxos              | Fast Paxos with uncoordinated collision recovery. |\n| EPaxos                  | A [corrected][epaxos_correct] version of EPaxos.  |\n\nThis software is based on the [Egalitarian Paxos](https://github.com/otrack/epaxos) code base, as well as the corrections made [here](https://github.com/otrack/epaxos).\n\nUsage\n-----\n#### participants\nThere are three types of participants: *master*, *servers* and *clients*. \nThe servers and clients implement the protocol logic. \nThe master maintains the configuration of the system.\n\n#### deployment configuration\nTo setup a run, the participants read deployment configuration file. \nSee [aws.conf][config] for an example of configuration file for AWS EC2.\n\n#### launching a participant\n\nMaster:\n    \n    swiftpaxos -run master -config conf.conf\n\nServer:\n\n    swiftpaxos -run server -config conf.conf -alias server_name\n\nClient:\n\n    swiftpaxos -run client -config conf.conf -alias client_name\n\n#### command line options\n\n    -alias alias\n        An alias of this participant\n    -config file\n        Deployment config file (required)\n    -latency file\n        Latency config file\n    -log file\n        Path to the log file\n    -protocol protocol\n        Protocol to run. Overwrites protocol field of the config file\n    -quorum file\n        Quorum config file\n    -run participant\n        Run a participant\n\nSee [quorum.conf][quorum] and [latency.conf][latency] for an example of quorum and latency configuration files.\n\nFlint\n-----\n\nTo have an idea on how different replication protocols would compare, we wrote a tool named [Flint][flint]. \nFlint takes as input a set of AWS regions.\nIt computes the expected latencies and estimates how the protocols perform in such a deployment.\n\n[config]: aws.conf\n[epaxos_correct]: https://github.com/otrack/on-epaxos-correctness\n[quorum]: quorum.conf\n[latency]: latency.conf\n[flint]: https://github.com/vonaka/flint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimdea-software%2Fswiftpaxos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimdea-software%2Fswiftpaxos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimdea-software%2Fswiftpaxos/lists"}