Summary
In this chapter, we learned about the main benefits of reactive systems. Such systems should be responsive, resilient, elastic, and driven by messaging.
We also discussed the Java 9 Reactive Streams API and its most popular implementation, which is Rx.
Now you should better understand the difference between cold and hot Observable. A cold Observable starts working only when someone subscribes to it. A hot Observable, on the other hand, always emits events, even if nobody is listening.
We also discussed the concept of backpressure, implemented with Flowable. It allows for a feedback mechanism between the producer and consumer.
In addition, you should be familiar with the notion of multicasting using subjects. It allows us to send the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access