-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework concurrency for pipeline stages (#209)
* controler: make makeStageChannel() capable of creating buffered and unbuffered channels * Rework preprocessor concurrency (#211) * preprocessor: using fan-in-fan-out pattern instead of dynamic workers pattern ; controler: make the reactor output channel buffered of size WorkersCount * preprocessor: log wording consistency * Rework archiver concurrency (#212) * archiver: using fan-in-fan-out pattern instead of dynamic workers pattern * cmd,config,archiver: rename MaxConcurrentAssets to MaxConcurrentAssetsPerWorker to make it more explicit that this limit is (to be) enforced PER worker * Revert "cmd,config,archiver: rename MaxConcurrentAssets to MaxConcurrentAssetsPerWorker to make it more explicit that this limit is (to be) enforced PER worker" This reverts commit 175af1e. * preprocessor: use struct pointer for worker() method instead of global variable * preprocessor: replace preprocessor.run by preprocessor.worker in the fieldedLogger * Rework postprocessor concurrency (#214) * postprocessor: using fan-in-fan-out pattern instead of dynamic workers pattern * controler: make archiver and preprocessor channel buffered by size of WorkersCount * archiver: check if context is done before passing seeds to the next stage * Rework finisher concurrency (#219) * stats: add counters for Finisher routines * controler: make postprocessor, finisherFinish and finisherProduce chans buffered by size WorkersCount ; consume and discard finisherFinish and finisherProduce when HQ is not used * finisher: make the finisher concurrent using fan-in-fan-out pattern
- Loading branch information
Showing
8 changed files
with
309 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.