Book Image

Hands-On Reactive Programming in Spring 5

By : Oleh Dokuka, Igor Lozynskyi
Book Image

Hands-On Reactive Programming in Spring 5

By: Oleh Dokuka, Igor Lozynskyi

Overview of this book

These days, businesses need a new type of system that can remain responsive at all times. This is achievable with reactive programming; however, the development of these kinds of systems is a complex task, requiring a deep understanding of the domain. In order to develop highly responsive systems, the developers of the Spring Framework came up with Project Reactor. Hands-On Reactive Programming in Spring 5 begins with the fundamentals of Spring Reactive programming. You’ll explore the endless possibilities of building efficient reactive systems with the Spring 5 Framework along with other tools such as WebFlux and Spring Boot. Further on, you’ll study reactive programming techniques and apply them to databases and cross-server communication. You will advance your skills in scaling up Spring Cloud Streams and run independent, high-performant reactive microservices. By the end of the book, you will be able to put your skills to use and get on board with the reactive revolution in Spring 5.1!
Table of Contents (12 chapters)

Reactive programming in the cloud

Even though Spring Cloud Streams provide a simplified way of achieving a distributed reactive system, we still have to deal with the list of configurations (for example, the configuration of destinations) to deal with the specifics of the Spring Cloud Streams programming model, and so on. Another significant problem is reasoning about flow. As we may remember from Chapter 2, Reactive Programming in Spring - Basic Concepts, one of the main reasons for inventing reactive extensions (as a concept of asynchronous programming) was to achieve a tool that hides complex asynchronous data flow behind the functional chain of operators. Even though we can develop specific components and we can specify the interaction between components, the digging into the whole picture of the interaction between them might become a puzzle. Similarly, in...