{"id":36092177,"url":"https://github.com/ibawt/tabby","last_synced_at":"2026-01-10T20:00:06.840Z","repository":{"id":26708255,"uuid":"30165444","full_name":"ibawt/tabby","owner":"ibawt","description":"An functional experiment in Raft \u0026 Clojure","archived":false,"fork":false,"pushed_at":"2018-01-13T16:16:41.000Z","size":206,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-03-24T02:08:24.303Z","etag":null,"topics":["clojure","functional-programming","raft"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibawt.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":"2015-02-02T00:53:27.000Z","updated_at":"2022-12-02T01:10:52.000Z","dependencies_parsed_at":"2022-08-18T22:11:15.590Z","dependency_job_id":null,"html_url":"https://github.com/ibawt/tabby","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/ibawt/tabby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibawt%2Ftabby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibawt%2Ftabby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibawt%2Ftabby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibawt%2Ftabby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibawt","download_url":"https://codeload.github.com/ibawt/tabby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibawt%2Ftabby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28257658,"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","status":"online","status_checked_at":"2026-01-10T02:00:06.867Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["clojure","functional-programming","raft"],"created_at":"2026-01-10T20:00:06.456Z","updated_at":"2026-01-10T20:00:06.826Z","avatar_url":"https://github.com/ibawt.png","language":"Clojure","readme":"# tabby\n\n[![Build Status](https://travis-ci.org/ibawt/tabby.svg?branch=master)](https://travis-ci.org/ibawt/tabby)\n[![Coverage Status](https://coveralls.io/repos/github/ibawt/tabby/badge.svg)](https://coveralls.io/github/ibawt/tabby)\n[![Clojars Project](https://img.shields.io/clojars/v/tabby.svg)](https://clojars.org/tabby)\n\nTabby is an implementation of the Raft consensus algorithm.\n\n## Features\n- REPL based development\n- Leadership Election\n- Log Replication\n\n## Database\nThe database is just a key value store with support for the following operations:\n- set key value\n- get key\n- compare-and-swap key new old\n\n## Client Libraries\nThere is only one client at this time and it's written in clojure in this repo in the `client` namespace.\n\n## Building\nscript/build\n\n## Running\nThere are a few ways to run`tabby`\n1. Kubernetes:\n  There are some example yamls in the 'k8s' directory.\n2. Command line:\n\nFor each peer machine run tabby like this:\n`java -jar $TABBY_JAR --id $ME --peers $PEER_STRING --data-dir $DATA_DIR`\n\n- $ME: The ID of peer in question\n- $PEER_STRING: A comma separated list of peers in the format of \u003chostname\u003e:\u003cport\u003e=\u003cid\u003e\n                e.g. \"tabby-0:7659=0,tabby-1:7659\"\n                NOTE: tabby will prune itself out of the peer list\n- $DATA_DIR: Where tabby should store it's replicated log.\n\nIdeally run this with a daemonizer, like systemd or whatever.\n\n## TODO\n- [ ] Fix inconsistent jepsen results\n- [ ] HTTP client API\n- [ ] HTTP health checks\n- [ ] Prometheus Metrics\n\n## Jespsen testing\n1. Clone the jepsen repo\n2. Copy the ./jepsen directory into the jepsen repo\n3. Turn up jepsen, ( I use the docker one )\n4. Enter the control node\n5. Go into the 'tabby' subdirectory\n6. `lein run test --concurrency 10`\n\n## License\n\nCopyright © 2015 Ian Quick\n\nDistributed under the Eclipse Public License either version 1.0 or any later version.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibawt%2Ftabby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibawt%2Ftabby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibawt%2Ftabby/lists"}