#worker #pool #numbers

autopool

Self balancing async worker pool

3 releases

0.1.2 Aug 8, 2020
0.1.1 Aug 6, 2020
0.1.0 Jul 27, 2020

#161 in #worker

MIT license

25KB
518 lines

autopool

Rust

⚠️ Project in early development! This is not a stable library.

This is an attempt to use a PID controller to drive a worker pool. Most worker pools require you to set a number of workers. However, the right number of workers can change based on environment conditions. autopool adds or removes workers to achieve a goal throughput.


lib.rs:

autopool

Warning! Project in early development! This is not a stable library.

This is an attempt to use a PID controller to drive a worker pool. Most worker pools require you to set a number of workers. However, the right number of workers can change based on environment conditions. autopool adds or removes workers to achieve a target throughput.

Dependencies

~5–13MB
~176K SLoC