kantord / kantord/optative

process pool: 3 threads per child does not scale past ~hundreds

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
0
Avg merge
3d 5h
Merged PRs (30d)
17

Description

Came up while planning the optative-process-pool extraction.

Per-child stdout reader + stderr reader + stdin writer = 3 threads. Fine for tens, painful for hundreds, impractical for thousands.

For the sync v1 we should just document the ceiling. The longer-term fix is probably a tokio-based variant (one runtime, async readers/writers via `tokio::process::Child`) as a separate crate or feature.

Drafted by Claude (AI assistant) during a design review.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.