{"id":16486997,"url":"https://github.com/ethe/tokio-group","last_synced_at":"2026-05-30T23:31:36.644Z","repository":{"id":243780098,"uuid":"813417506","full_name":"ethe/tokio-group","owner":"ethe","description":"Tokio runtime sharding solution, supports numa awareness and core affinity","archived":false,"fork":false,"pushed_at":"2024-06-11T04:14:08.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T19:40:37.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ethe.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-11T03:43:12.000Z","updated_at":"2025-08-21T08:13:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a84e840-4855-471e-9e84-916292a9c2ba","html_url":"https://github.com/ethe/tokio-group","commit_stats":null,"previous_names":["ethe/tokio-group"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ethe/tokio-group","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethe%2Ftokio-group","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethe%2Ftokio-group/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethe%2Ftokio-group/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethe%2Ftokio-group/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethe","download_url":"https://codeload.github.com/ethe/tokio-group/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethe%2Ftokio-group/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33714033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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":[],"created_at":"2024-10-11T13:31:52.004Z","updated_at":"2026-05-30T23:31:36.631Z","avatar_url":"https://github.com/ethe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tokio-Group\nA tool that helps user to create sharding tokio runtime instances, supports NUMA awareness.\n\n## Install\nOnly sharding, no affinity feature.\n```toml\ntokio-group = { git = \"https://github.com/ethe/tokio-group.git\", branch = \"main\" }\n```\n\n### Core Affinity Mode\nJust bind each runtime to cores without NUMA info.\n```toml\ntokio-group = { git = \"https://github.com/ethe/tokio-group.git\", branch = \"main\", features = [\"affinity\"] }\n```\n\n### Numa Awareness Mode\nBind each runtime to NUMA nodes.\n```toml\ntokio-group = { git = \"https://github.com/ethe/tokio-group.git\", branch = \"main\", features = [\"numa-awareness\"] }\n```\n\n## Usage\n```rust\nfn main() {\n    let results: std::io::Result\u003cVec\u003c_\u003e\u003e = tokio_group::new()\n      // switch on NUMA mode, relies on numa-awareness feature.\n      .numa(true)\n      // tokio-group supports two-level affinity strategies, several tokio runtimes could share one NUMA node.\n      .workers_per_numa(1)\n      .init(async {\n          // some initializations before forking tokio runtimes.\n      })\n      .entry(async move {\n          // server entry here.\n      })\n      .run();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethe%2Ftokio-group","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethe%2Ftokio-group","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethe%2Ftokio-group/lists"}