feat: limit concurrent open files during scatter #6

Merged
coissac merged 1 commits from push-rkytvkympxrn into main 2026-05-22 09:33:40 +00:00
Owner

Introduces a max_open_files CLI argument (default: 20) to cap concurrently open input files during scatter operations. The scatter phase now parallelizes sequence file partitioning across worker threads while enforcing a configurable concurrency limit using a custom semaphore and GuardedIter wrapper. This ensures bounded resource usage and prevents file handle exhaustion during index construction.

Introduces a `max_open_files` CLI argument (default: 20) to cap concurrently open input files during scatter operations. The scatter phase now parallelizes sequence file partitioning across worker threads while enforcing a configurable concurrency limit using a custom semaphore and `GuardedIter` wrapper. This ensures bounded resource usage and prevents file handle exhaustion during index construction.
coissac added 1 commit 2026-05-22 09:33:36 +00:00
Introduces a `max_open_files` CLI argument (default: 20) to cap concurrently open input files during scatter operations. The scatter phase now parallelizes sequence file partitioning across worker threads while enforcing a configurable concurrency limit using a custom semaphore and `GuardedIter` wrapper. This ensures bounded resource usage and prevents file handle exhaustion during index construction.
coissac merged commit 6c1a8da2d1 into main 2026-05-22 09:33:40 +00:00
coissac deleted branch push-rkytvkympxrn 2026-05-22 09:33:40 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OBIKmers/obikmer#6