Currently each child process in the chain typically blocks a thread while waiting for input data.
This creates an unnecessary high number of threads and prevents the use of ForkJoinPool.
Process execution should be implemented to avoid waiting and reuse the same threads for multiple processes in the chain.
Currently each child process in the chain typically blocks a thread while waiting for input data. This creates an unnecessary high number of threads and prevents the use of ForkJoinPool. Process execution should be implemented to avoid waiting and reuse the same threads for multiple processes in the chain.