A Comparative Analysis of Spring MVC and Spring WebFlux in Modern Web Development
Catrina, Alexandru (2023)
Catrina, Alexandru
2023
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2023112932565
https://urn.fi/URN:NBN:fi:amk-2023112932565
Tiivistelmä
This thesis conducts a comparative analysis of two widely used Spring-based frameworks, Spring Boot MVC and Spring WebFlux, with a focus on their performance and resource utilization.
The central research question explored in this thesis is : “How does Spring WebFlux compare to traditional synchronous web development in terms of performance and scalability?”
The study leverages theories related to web application development, asynchronous programming, and performance analysis to establish a framework for the evaluation.
The research employs a systematic benchmarking approach, involving the creation of representative web applications in both Spring Boot MVC and Spring WebFlux. Performance metrics, resource usage, and response times are measured under varying workloads to assess the frameworks’ capabilities.
The results reveal that Spring WebFlux exhibits less resource utilization compared to Spring Boot MVC, while maintaining nearly the same response times.
In conclusion, the study highlights the strengths and weaknesses in Spring Boot MVC and Spring WebFlux.
The central research question explored in this thesis is : “How does Spring WebFlux compare to traditional synchronous web development in terms of performance and scalability?”
The study leverages theories related to web application development, asynchronous programming, and performance analysis to establish a framework for the evaluation.
The research employs a systematic benchmarking approach, involving the creation of representative web applications in both Spring Boot MVC and Spring WebFlux. Performance metrics, resource usage, and response times are measured under varying workloads to assess the frameworks’ capabilities.
The results reveal that Spring WebFlux exhibits less resource utilization compared to Spring Boot MVC, while maintaining nearly the same response times.
In conclusion, the study highlights the strengths and weaknesses in Spring Boot MVC and Spring WebFlux.