WebFlux versus Web MVC
In the previous sections, we gave a brief overview of the primary components that are included in the new Spring WebFlux. We also looked at the new features that were introduced in the Spring WebFlux module and how they can be used.
However, despite the fact that we now have an understanding of how to use a new API to build a web application, it is still unclear as to why the new WebFlux is better than Web MVC. It would be helpful to understand the principle advantages of WebFlux.
To do this, we have to dig into the theoretical foundations of how to build web servers, understand what the critical characteristics of a fast web server are, and consider what may change the performance of a web server. In the following ...
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