In the previous sections, we learned about the basics of WebFlux's design and its new features. We also went through a fine-grained comparison of WebFlux and Web MVC. We got an understanding of their advantages and disadvantages from different perspectives. Finally, in this section, we will try to get a clear understanding of the applications of WebFlux.
Application of WebFlux
Microservice-based systems
WebFlux's first obvious application is in microservice systems. The most distinctive feature of typical microservice systems compared to monoliths is the abundance of I/O communication. The presence of I/O, especially blocking I/O, decreases the overall system latency and throughput. Contention and coherence in the...