Crates.io | slottle |
lib.rs | slottle |
version | 0.4.2 |
source | src |
created_at | 2020-11-28 09:04:49.78906 |
updated_at | 2021-03-07 04:49:33.801075 |
description | A throttle pool library designed for thread-based concurrency. |
homepage | https://github.com/visig9/slottle |
repository | https://github.com/visig9/slottle |
max_upload_size | |
id | 317389 |
size | 44,391 |
A simple Rust crate provide thread-based throttle pool. It can dynamic create multiple throttles by user given resource id.
For example, a web scraping tool may treat domain name as resource id to control access speed of each hosts in generic way. User can create multiple pools at the same time, each one have different configurations for different situations.
Check online document for more detail.
MIT