System Design · Senior · Question 7 of 75

What is backpressure?

Explanation

Without backpressure, a fast source overflows the consumer's buffers and memory. Examples: the Streams API in the browser (ReadableStream with a queue), limiting queue size, rejecting requests with 429/503.

Further reading

Problem with a question

System Design · Senior · question 7

Test yourself

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

Take this quiz