Hello everyone. I just release slottle v0.3.0, a thread based throttle implementation.
With this crate, user can throttle any function call by give proper concurrent and interval. It also support user defined dynamic interval logic, failure sensitive delay and retrying.
It support pool, so user can just hold a pool and let pool create or re-use throttle by itself when user appoint resource id (e.g., hostname) at runtime.
This crate also very light weight, it only depend on
std-semaphore and without any other dependency. And of course with exhaustive document.
Feel free to try and enjoy it