{"id":37456531,"url":"https://github.com/baijianruoli/confact","last_synced_at":"2026-01-16T07:00:55.758Z","repository":{"id":41306703,"uuid":"352076147","full_name":"baijianruoli/Confact","owner":"baijianruoli","description":"Distributed center based on Raft algorithm","archived":false,"fork":false,"pushed_at":"2022-05-10T16:10:29.000Z","size":54,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-10-20T18:05:19.287Z","etag":null,"topics":["database","grpc","raft"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baijianruoli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-27T13:11:25.000Z","updated_at":"2023-10-20T18:05:19.288Z","dependencies_parsed_at":"2022-09-16T13:01:53.089Z","dependency_job_id":null,"html_url":"https://github.com/baijianruoli/Confact","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/baijianruoli/Confact","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baijianruoli%2FConfact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baijianruoli%2FConfact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baijianruoli%2FConfact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baijianruoli%2FConfact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baijianruoli","download_url":"https://codeload.github.com/baijianruoli/Confact/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baijianruoli%2FConfact/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["database","grpc","raft"],"created_at":"2026-01-16T07:00:27.310Z","updated_at":"2026-01-16T07:00:55.656Z","avatar_url":"https://github.com/baijianruoli.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Confact\nDistributed database based on Raft algorithm\n\n\n# WHAT TO DO\n分布式事务 - Percolator\n\n共识算法 - multi-raft\n\n存储引擎  LevelDB\n\n网络层    net/http（看情况换成fastHTTP或者Gin）\n\nRPC层    GRPC\n\n\n怎么启动：\n\nmulti-raft.json 是multi-raft配置文件。如图所示，【nodes】为节点（机器）个数，【replicate】是副本个数，【nodes_http】是节点对外提供的http端口，【nodes_info】是节点详细信息，\n【nodes_rpc】是节点GRPC端口，默认从50010开始递增。\n\n![图片](https://user-images.githubusercontent.com/48211921/163682923-8d3e554e-4ea1-4554-8533-6f3e46d8aff1.png)\n\n\n\n\n该json文件由配置中心统一生成。peers.toml是该机器的配置，也就是配置机器id。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaijianruoli%2Fconfact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaijianruoli%2Fconfact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaijianruoli%2Fconfact/lists"}