{"id":16442402,"url":"https://github.com/richardknop/paxos","last_synced_at":"2025-03-21T05:30:28.911Z","repository":{"id":57587245,"uuid":"66133475","full_name":"RichardKnop/paxos","owner":"RichardKnop","description":"Golang implentation of paxos consensus algorithm","archived":false,"fork":false,"pushed_at":"2019-07-05T11:12:30.000Z","size":135,"stargazers_count":50,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T21:42:21.057Z","etag":null,"topics":["go","golang","paxos"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RichardKnop.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}},"created_at":"2016-08-20T07:00:40.000Z","updated_at":"2024-10-17T11:47:11.000Z","dependencies_parsed_at":"2022-09-26T19:33:23.549Z","dependency_job_id":null,"html_url":"https://github.com/RichardKnop/paxos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardKnop%2Fpaxos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardKnop%2Fpaxos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardKnop%2Fpaxos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardKnop%2Fpaxos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RichardKnop","download_url":"https://codeload.github.com/RichardKnop/paxos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745617,"owners_count":20503042,"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":["go","golang","paxos"],"created_at":"2024-10-11T09:17:17.977Z","updated_at":"2025-03-21T05:30:28.169Z","avatar_url":"https://github.com/RichardKnop.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## paxos\n\nGolang implentation of [Paxos](https://pdos.csail.mit.edu/6.824/papers/paxos-simple.pdf) consensus algorithm.\n\n[![Travis Status for RichardKnop/paxos](https://travis-ci.org/RichardKnop/merkle.svg?branch=master)](https://travis-ci.org/RichardKnop/paxos)\n\n---\n\n* [First Steps](#first-steps)\n\n### First Steps\n\nThis project is still under development. I have tried to keep the algorithm implementation completely decoupled so you can just import from `github.com/RichardKnop/paxos/paxos` and extend `Acceptor`, `Proposer` and `Learner` structs. \n\nIn order to provide method of communication best suited for you, implement the `AcceptorClientInterface` interface which is then used by proposers to send request to acceptors.\n\nThe communicaton / networking between agents is something which is not relevant for the algorithm. I have written a simple RPC agent system for testing purposes though.\n\nRun multiple test agents in different tabs to test the algorithm:\n\n```\ngo run cmd/main.go run --port 1234 --peers 127.0.0.1:2345\ngo run cmd/main.go run --port 2345 --peers 127.0.0.1:1234\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardknop%2Fpaxos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichardknop%2Fpaxos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardknop%2Fpaxos/lists"}