MODEL OF WEBAPPLICATION ARCHITECTURE BASED ON MODERN MULTILAYERED ARCHITECTURES
DOI:
https://doi.org/10.35546/kntu2078-4481.2026.2.50Keywords:
web application, Clean Architecture, Vertical Slice Architecture, CQRS, Onion Architecture, Multi-Tier Architecture, Domain-Driven Design, Rich Domain, scalability, unit testing, code structureAbstract
The paper explores the relevant task of updating classic multi-layered web application architectures in view of the increasing requirements for development speed, flexibility and scalability of modern software solutions. The authors have conducted a thorough analysis of traditional approaches (N-layered, Onion, Clean Architecture) and identified their key limitations in the context of dynamic project development. Attention is paid to the problem of "vertical dependency", in which changes in one business function require code adjustments at all horizontal levels, which causes excessive coherence and complexity of the system logic. An improved web application architecture model is proposed, which covers the presentation, application, domain and infrastructure levels, cross-components, specialized validation mechanisms and integration of modern architectural patterns (CA, VSA, CQRS). The paper describes in detail the content of each level: from the use of SSR and CSR in the presentation layer to the use of message brokers and caching in the infrastructure. The central place in the proposed model is occupied by the implementation of the principles of Domain-Driven Design (DDD) and the Rich Domain Model approach, which ensures the encapsulation of business rules directly in domain entities and prevents the occurrence of incorrect system states. The concept of vertical slices is also considered, within which each business function is implemented as an autonomous module, which reduces the interdependence between components. The practical effectiveness of the proposed model is confirmed by several examples. In particular, the use of a hybrid approach made it possible to reduce the infrastructure deployment time from three weeks to one. The development of new functions is accelerated by up to 60%, and changes to existing code are made 70% faster compared to traditional architectural models. In addition, thanks to the use of the CQRS principle, it was possible to increase the performance of high load read operations by up to 50%, reducing the response time from 400 ms to 150-200 ms. Therefore, the proposed model retains the advantages of the classic multi-layer approach: structured code, ease of unit testing, and ease of scaling, while providing greater adaptability and flexibility of the architecture in the face of modern requirements
References
Sereda, D. Creating a Multi-tier Architecture for Web Applications: Design and Implementation. American Scientific Research Journal for Engineering, Technology, and Sciences. Vol. 102 № 1. 2025. P. 134-139. https://asrjetsjournal.org/American_Scientific_Journal/article/view/11686
Khan, S. M. (2023) Onion Architecture Used in Software Development. https://www.researchgate.net/publication/371006360_Onion_Architecture_Used_in_Software_Development
Tu, Z. Research on the Application of Layered Architecture in Computer Software Development. Journal of Computing and Electronic Information Management. № 11(3). 2023. С. 34-38. https://doi.org/10.54097/jceim.v11i3.08
Dulko, D., Kolianova, T. Using Clean Architecture to Build Scalable Solutions in.NET. Матеріали конференцій МЦНД. 2025. С. 174-176. https://doi.org/10.62731/mcnd-07.03.2025.002
Varga, M. Web Programming and Multi-Tier Architecture of Web Applications. TEM Journal. Volume 13, Issue 4, Pages 3286-3294. https://doi.org/10.18421/TEM134-63
Su, R., Li, X. Modular Monolith: Is This the Trend in Software Architecture? 2024. arXiv preprint arXiv:2401.11867v1.https://doi.org/10.48550/ arXiv.2401.11867
Jayaraman, K. D., Sharma, P. Exploring CQRS Patterns for Improved Data Handling in Web Applications. International Journal of Research in all Subjects in Multi Languages. Vol. 13, Issue: 01. 2025. PP. 92-109. https://doi.org/10.5281/zenodo.15069282
Yakhin, S. (2025) Comparative Review of Clean Architecture and Vertical Slice Architecture Approaches forи Enterprise.NET Applications. International Journal of Advanced Artificial Intelligence Research, Volume 2, Issue 12, PP. 1-12. https://doi.org/10.55640/ijaair-v02i12-01





