Analysis of Monolithic and Microservice Architectures Using Client-Side Inference and Statistical Modeling: A Case Study Approach
Subject Areas : Computer Engineeringhamidreza naseri 1 * , Hoda Avazzadeh 2 , Mehdi Ghasemi 3
1 - Faculty Member, Department of Computer Engineering, Bandar Abbas Branch, Islamic Azad University, Bandar Abbas, Iran
2 - دانشکده فنی و مهندسی ، دانشگاه ازاد بندرعباس، ایران
3 - ministery of educational system Hormozgan, Iran
Keywords: Client-Side Threat Analysis , Microservices Security, System Architecture Inference ,
Abstract :
In the evolving context of web-based system deployment, software architectural design—monolithic or microservice—is the deciding factor for its security posture. This paper presents a novel client-side solution for system architecture inference and evaluation of performance-related threats through browser-level resource monitoring and Gaussian Mixture Model (GMM) clustering of response times. By analyzing actual systems such as Digikala and Jonoob Iran, the work discovers unequivocal signs of architecture: high domain heterogeneity and modular latency clusters in microservices, and centralized domain usage with persistent latency in monolithic systems. The work not only confirms theoretical differences but also presents a lightweight, non-intrusive diagnostics infrastructure for architecturally classifying systems and detecting anomalies, with broad red teaming, DevOps monitoring, and security auditing implications. The approach enhances theoretical as well as practical solutions to architecture-sensitive threat analysis in access-controlled environments.