Node.js · Senior · Question 24 of 75

What does highWaterMark control?

Explanation

It's a threshold, not a hard limit. Ignoring write() returning false lets the buffer grow without bound.

Further reading

Problem with a question

Node.js · Senior · question 24

Test yourself

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

Take this quiz