9 Backpressure
In this chapter
- an introduction to backpressure
- when backpressure is triggered
- how backpressure works in local and distributed systems
“Never trust a computer you can’t throw out a window.”
—Steve Wozniak
Be prepared for unexpected events is a critical rule when building any distributed systems, and streaming systems are not exceptions. In this chapter, we are going to learn a widely supported failure handling mechanism in streaming systems: backpressure. It is very useful for protecting a streaming system from breaking down under some unusual scenarios.
Reliability is critical
In chapter 4, the team built a stream processing system to process transactions and detect credit card fraud. It works well, and customers are happy so ...
Get Grokking Streaming Systems now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.