wellawaretech/node-zipstream — Issue #6: Handling slow source
Author: dmmalam
Created: 2012-03-09 18:49:13+00:00
State: open

Hi, I'm streaming a file from S3, into zipstream, then out to a http response stream, but I'm getting very high CPU usage.
The bottleneck is the stream feeding zipstream.

I believe this is because processl.nexttick is used instead of events. I'm I right in thinking that pause events aren't relayed to the source, and it ends up polling via process.nexttck.

Would the 'TODO:s' to add drain supports, and remove the nexttcks, resolve this?