feat: add a very high amount of parallel processes

The library is not intended to handle this many tasks created so fast, and as such it is not optimized for. Generally we only allow a single modifier to the process manager at once. However, even then it can start and run a lot of tasks at once. Note that these processes, are comparable to pods / wasm containers / etc. And as such it wouldn't be realistic to run so many in parallel.

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2026-01-07 16:10:05 +01:00
parent 24503ab258
commit 5cae3ba93d
5 changed files with 375 additions and 4 deletions

13
Cargo.lock generated
View File

@@ -149,6 +149,19 @@ version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]]
name = "parallel"
version = "0.1.0"
dependencies = [
"anyhow",
"noprocess",
"rand",
"tokio",
"tokio-util",
"tracing",
"tracing-subscriber",
]
[[package]]
name = "parking_lot"
version = "0.12.1"