{"id":15914516,"url":"https://github.com/bbengfort/epaxos","last_synced_at":"2025-04-03T03:44:21.488Z","repository":{"id":57552234,"uuid":"165546077","full_name":"bbengfort/epaxos","owner":"bbengfort","description":"Actor based implementation of the ePaxos consensus algorithm","archived":false,"fork":false,"pushed_at":"2019-04-07T02:28:13.000Z","size":4379,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T17:45:47.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bbengfort.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-13T19:36:18.000Z","updated_at":"2021-12-21T05:29:33.000Z","dependencies_parsed_at":"2022-09-26T18:50:37.591Z","dependency_job_id":null,"html_url":"https://github.com/bbengfort/epaxos","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/bbengfort%2Fepaxos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fepaxos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fepaxos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fepaxos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbengfort","download_url":"https://codeload.github.com/bbengfort/epaxos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246933357,"owners_count":20857052,"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":[],"created_at":"2024-10-06T17:03:54.491Z","updated_at":"2025-04-03T03:44:21.464Z","avatar_url":"https://github.com/bbengfort.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ePaxos\n\n[![Build Status](https://travis-ci.com/bbengfort/epaxos.svg?branch=master)](https://travis-ci.com/bbengfort/epaxos)\n[![GoDoc](https://godoc.org/github.com/bbengfort/epaxos?status.svg)](https://godoc.org/github.com/bbengfort/epaxos)\n\n\n**Actor based implementation of the [ePaxos consensus algorithm](http://efficient.github.io/epaxos/).**\n\n## Quick Start\n\nTo install this implementation of ePaxos on a system:\n\n```\n$ go get github.com/bbengfort/epaxos/...\n```\n\nThis should install the `epaxos` command on your system. Create a configuration file that defines the peers for the network and other parameters as follows:\n\n```json\n{\n  \"timeout\": \"100ms\",\n  \"aggregate\": true,\n  \"log_level\": 5,\n  \"peers\": [\n    {\n      \"pid\": 1,\n      \"name\": \"alpha\",\n      \"ip_address\": \"127.0.0.1\",\n      \"domain\": \"localhost\",\n      \"port\": 3264\n    },\n    {\n      \"pid\": 2,\n      \"name\": \"bravo\",\n      \"ip_address\": \"127.0.0.1\",\n      \"domain\": \"localhost\",\n      \"port\": 3265\n    },\n    {\n      \"pid\": 3,\n      \"name\": \"charlie\",\n      \"ip_address\": \"127.0.0.1\",\n      \"domain\": \"localhost\",\n      \"port\": 3266\n    }\n  ]\n}\n```\n\nThe configuration file can be stored as a .toml, .json, .yml, .yaml file in the following locations:\n\n- `/etc/epaxos.json`\n- `~/.epaxos.json`\n- `$(pwd)/epaxos.json`\n\nOr the path to the configuration file can be passed to the command at runtime. To run an ePaxos replica process:\n\n```\n$ epaxos serve -n alpha\n```\n\nThe -n command specifies which peer configures the local replica, by default if no name is specified, then the hostname of the machine is used. To commit a command to the ePaxos log:\n\n```\n$ epaxos commit -k \"key\" -v \"value\"\n```\n\nThis commits the command named \"key\" with the specified \"value\" to the log. Note that the client is automatically redirected to a leader in a round-robin fashion and requires the same configuration to connect.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbengfort%2Fepaxos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbengfort%2Fepaxos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbengfort%2Fepaxos/lists"}