As we might have noticed in the preceding diagram, while it has a lot of similarities to Web MVC, WebFlux also provides a lot of new features. In the era of tiny microservices, Amazon Lambdas, and similar cloud services, it is important to offer functionality that allows developers to create lightweight applications that have almost the same arsenal of framework features. One of the features that made competitor frameworks, such as Vert.x or Ratpack, more attractive was their ability to produce lightweight applications, which was achieved by functional route mapping and a built-in API that allowed us to write complex request routing logic. This is why the Spring Framework team decided to incorporate this ...
Purely functional web with WebFlux
Get Hands-On Reactive Programming in Spring 5 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.