Node.js · Middle · Question 13 of 75

What is backpressure in streams?

Explanation

writable.write() returns false when its buffer is over highWaterMark. Correct code waits for the drain event. pipe() and pipeline() do this for you.

Further reading

Problem with a question

Node.js · Middle · question 13

Test yourself

Take the Node.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz