{"id":28508846,"url":"https://github.com/surrealdb/affinitypool","last_synced_at":"2025-07-02T22:31:46.335Z","repository":{"id":271259838,"uuid":"912672011","full_name":"surrealdb/affinitypool","owner":"surrealdb","description":"A Rust library for running blocking jobs on a dedicated thread pool with CPU core affinity per thread","archived":false,"fork":false,"pushed_at":"2025-04-02T22:12:38.000Z","size":38,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-06-30T07:19:05.286Z","etag":null,"topics":["surreal","surrealdb","thread-pool","threadpool"],"latest_commit_sha":null,"homepage":"https://surrealdb.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/surrealdb.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":"2025-01-06T06:42:57.000Z","updated_at":"2025-04-06T16:02:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"590cc446-9315-40a1-abef-23284bc674b1","html_url":"https://github.com/surrealdb/affinitypool","commit_stats":null,"previous_names":["surrealdb/affinitypool"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/surrealdb/affinitypool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Faffinitypool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Faffinitypool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Faffinitypool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Faffinitypool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/surrealdb","download_url":"https://codeload.github.com/surrealdb/affinitypool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Faffinitypool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263225997,"owners_count":23433616,"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":["surreal","surrealdb","thread-pool","threadpool"],"created_at":"2025-06-08T21:39:56.500Z","updated_at":"2025-07-02T22:31:46.314Z","avatar_url":"https://github.com/surrealdb.png","language":"Rust","readme":"# affinitypool\n\nA threadpool for running blocking jobs on a dedicated thread pool. Blocking tasks can be sent asynchronously to the pool, where the task will be queued until a worker thread is free to process the task. Tasks are processed in a FIFO order.\n\nFor optimised workloads, the affinity of each thread can be specified, ensuring that each thread can request to be pinned to a certain CPU core, allowing for more parallelism, and better performance guarantees for blocking workloads.\n\n#### Original\n\nThis code is heavily inspired by [threadpool](https://crates.io/crates/threadpool), licensed under the Apache License 2.0 and MIT licenses.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurrealdb%2Faffinitypool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurrealdb%2Faffinitypool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurrealdb%2Faffinitypool/lists"}