3 releases

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

#56 in #pid

41 downloads per month

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–14MB
~168K SLoC