On 2017-05-10, Matt Sicker wrote: > Would the scattering and gathering byte channel APIs in java.nio be helpful > in splitting up a stream into chunks for parallel processing?
Possibly. pigz breaks up the stream into chunks of 128k and using the scattering part we should be able to do the same. I'm not so sure about gathering as we'd need to massage the individual outputs and create new overall headers and trailers. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org