Экраны

Grill/grills/:id

Перейти к содержимому

Node.js runtime internals · round 3

Завершён

15 ответов из 15 · 15 оценено

Итоги разбора

уверенный ответ
960%
неполный ответ
427%
слабый ответ
213%

В10/ 15

Т06Streams and backpressure

Explain backpressure in a pipeline of streams. What does highWaterMark control?

Ваш ответ на этой странице25 нояб. 2026 г.

highWaterMark is the maximum size of a chunk. Backpressure is when the stream is slow.

слабый ответ

Цепь разомкнута. Вернитесь к теме.

25 нояб. 2026 г.

`highWaterMark` is a buffer threshold, not a chunk size. Backpressure is the signal, `write()` returning `false`, that tells the source to pause until `drain`. Read the second Lesson in Streams and backpressure again.