Polytechnic and design, Vol. 12 No. 3, 2024.
Professional paper
https://doi.org/10.19279/TVZ.PD.2024-12-3-17
THE COMPARISON OF MONOLITHIC MVC AND MICROSERVICES ARCHITECTURES IN LARAVEL APPLICATIONS
Sanja Brekalo
; Međimurje Polytechnic in Čakovec, Bana Josipa Jelačića 21, 40000 Čakovec, Croatia
*
Tomislav Sedlarević
; Međimurje Polytechnic in Čakovec, Bana Josipa Jelačića 21, 40000 Čakovec, Croatia
*
* Corresponding author.
Abstract
This paper analyses and compares the performance of monolithic MVC and microservices architectures in developing applications using the Laravel framework. The research evaluates key factors such as scalability, performance, maintainability, and fault tolerance. The study is based on the hypothesis that microservices architecture provides significant advantages in terms of scalability and fault tolerance, while monolithic architecture remains more suitable for smaller, simpler projects. The original contribution of this study lies in the comparison of these architectures within the context of the Laravel framework, with an emphasis on practical guidelines to assist in choosing the optimal approach to application development. Through detailed analysis and examples, the study highlights the advantages of microservices architecture in distributed systems, such as the independence of individual components and the ability for horizontal scaling. The study highlights the challenges of implementing microservices, including increased technical complexity and the need for more detailed documentation. On the other hand, monolithic applications are found to be more suitable for smaller projects due to their simplicity in development and testing. In conclusion, the study provides clear recommendations for selecting the optimal architecture, emphasizing the importance of adapting to the specific needs of the project and ensuring the long-term sustainability of applications. The research results provide guidelines for choosing the optimal architecture depending on the specific application needs, considering maintenance costs and technical requirements.
Keywords
monolithic architecture; microservices; Laravel; scalability; performance
Hrčak ID:
330611
URI
Publication date:
14.1.2025.
Visits: 130 *