March 2022
Intermediate to advanced
312 pages
6h 29m
English
In this chapter
“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.
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 ...