10000 GitHub - dev-logs/affinitypool: A Rust library for running blocking jobs on a dedicated thread pool with CPU core affinity per thread
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

A Rust library for running blocking jobs on a dedicated thread pool with CPU core affinity per thread

License

Notifications You must be signed in to change notification settings

dev-logs/affinitypool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

affinitypool

A 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.

For 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.

Original

This code is heavily inspired by threadpool, licensed under the Apache License 2.0 and MIT licenses.

About

A Rust library for running blocking jobs on a dedicated thread pool with CPU core affinity per thread

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%
0