You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short, I run exec() and write data (string) to the ssh server through the stream.stdin. When the string is small (~1MB) it works with no issue. When the string is 10MB it works on node <=14.0.0 but it hangs on node >= 14.1.0.
Another issue I found, not related to any node version is the performance. The longer the string the lower the transfer rate. I have a feeling that it is related to the back-pressure, but I tried with piping as well, which suppose to handle the backpressure.
More details in the README of the repo above.
I didn't create two issues because there is a good chance that fixing the performance issue will fix the first issue as well.
(to have some more context for this issue, see teambit/bit#2844.
The text was updated successfully, but these errors were encountered:
I created a reproducible repo https://github.com/davidfirst/stream-issue-node-14-1-0 with instructions on how to reproduce.
In short, I run
exec()
and write data (string) to the ssh server through thestream.stdin
. When the string is small (~1MB) it works with no issue. When the string is 10MB it works on node <=14.0.0 but it hangs on node >= 14.1.0.Another issue I found, not related to any node version is the performance. The longer the string the lower the transfer rate. I have a feeling that it is related to the back-pressure, but I tried with piping as well, which suppose to handle the backpressure.
More details in the README of the repo above.
I didn't create two issues because there is a good chance that fixing the performance issue will fix the first issue as well.
(to have some more context for this issue, see teambit/bit#2844.
The text was updated successfully, but these errors were encountered: