{"id":13632575,"url":"https://github.com/akiradeveloper/sorock","last_synced_at":"2025-12-30T08:00:31.352Z","repository":{"id":42145973,"uuid":"295032966","full_name":"akiradeveloper/sorock","owner":"akiradeveloper","description":"A Multi-Raft implementation in Rust language.","archived":false,"fork":false,"pushed_at":"2024-10-30T03:54:54.000Z","size":4370,"stargazers_count":180,"open_issues_count":9,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-30T04:59:36.385Z","etag":null,"topics":["consensus-algorithm","distributed-log","raft","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/akiradeveloper.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":"2020-09-12T21:58:13.000Z","updated_at":"2024-10-30T03:01:27.000Z","dependencies_parsed_at":"2024-01-14T07:10:50.516Z","dependency_job_id":"94d24b6f-a3d2-4663-a7f4-d6a01863dec6","html_url":"https://github.com/akiradeveloper/sorock","commit_stats":{"total_commits":419,"total_committers":3,"mean_commits":"139.66666666666666","dds":0.007159904534606243,"last_synced_commit":"16714ba39601ad878c45fddb676ee651fa2a1a15"},"previous_names":["akiradeveloper/lolraft","akiradeveloper/lol","akiradeveloper/sorock"],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiradeveloper%2Fsorock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiradeveloper%2Fsorock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiradeveloper%2Fsorock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiradeveloper%2Fsorock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akiradeveloper","download_url":"https://codeload.github.com/akiradeveloper/sorock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223772286,"owners_count":17199976,"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":["consensus-algorithm","distributed-log","raft","rust"],"created_at":"2024-08-01T22:03:07.417Z","updated_at":"2025-12-30T08:00:31.339Z","avatar_url":"https://github.com/akiradeveloper.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Sorock\n\n[![Crates.io](https://img.shields.io/crates/v/sorock.svg)](https://crates.io/crates/sorock)\n[![API doc](https://docs.rs/sorock/badge.svg)](https://docs.rs/sorock)\n[![mdBook Documentation](https://img.shields.io/badge/mdBook-Docs-blue?logo=mdbook)](https://akiradeveloper.github.io/sorock/)\n![CI](https://github.com/akiradeveloper/sorock/actions/workflows/ci.yml/badge.svg)\n[![codecov](https://codecov.io/gh/akiradeveloper/sorock/graph/badge.svg?token=QOUNE81WNS)](https://codecov.io/gh/akiradeveloper/sorock)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/akiradeveloper/sorock/blob/master/LICENSE)\n\nA Multi-Raft implementation in Rust.\n\n## Features\n\n![](book/src/images/multi-raft.png)\n\n- Supports Multi-Raft. Mutliple Raft processes can coexist in a single OS process so they can share resources efficiently.\n  - Tested with 1000 shards per node.\n  - Heartbeats in shards are batched to reduce the network overhead.\n- Based on [Tonic](https://github.com/hyperium/tonic) and efficient gRPC streaming is exploited in log replication and snapshot.\n- Efficient backend implementation using [redb](https://github.com/cberner/redb).\n  - Writes in shards are batched in one transaction. \n- Phi Accrual Failure Detector is used for leader failure detection.\n  - The adaptive algorithm allows you to not choose a fixed timeout number before deployment and to deploy Raft node in even geo-distributed environment where the latency between nodes isn't identical.\n\n## Related Projects\n\n- [phi-detector](https://github.com/akiradeveloper/phi-detector): Implementation of Phi Accrual Failure Detector in Rust.\n\n## Author\n\nName: Akira Hayakawa  \nEmail: ruby.wktk@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiradeveloper%2Fsorock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakiradeveloper%2Fsorock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiradeveloper%2Fsorock/lists"}