Parallel the execution of a job that read from stdin
Assume you have a huge list of file, e.g.
line1 line2 line3 ..
You want to "feed every line" of this file to an external program that read from stdin, to parallel it, you can use the gnu parallel, e.g.
cat input.txt | parallel -j16 -N1 --pipe myprogram