Analysis of Monolithic and Microservices System Architectures for an E-Commerce Web Application

Authors

  • Meenakshi Thalor, Shivprasad R. Allur, Veena Suhas Bhende, Amrapali Chavan

Keywords:

Microservices, Monolithic, Software Architecture, Comparison, Architectural Metrics, Performance Testing

Abstract

Selection of a system architecture for deployment of a web application is always a crucial decision as lots of planning and implementation involves. As monolithic architecture offers a simpler and more straightforward approach and better results for a small-scale approach whereas microservices architecture would be an expensive approach. In addition, monolithic architecture gives satisfactory results compared to microservices architecture while having low traffic. However, the error percentage of monolithic architecture is extremely high while having heavy traffic whereas microservices architecture handles heavy traffic with a very low error percentage. This research paper explores the relative merits of monolithic and microservices architecture for E-Commerce web applications, using Express JS and Node JS as the primary technologies. The study provides a comprehensive examination of the two architecture patterns and employs a practical approach to demonstrate the differences. The architecture is compared based on metrics such as latency, throughput, response-time, error percentage and cost. The findings indicate that when it comes to large and complex applications, microservices architecture outperforms monolithic architecture in terms of scalability and reliability. The appropriate choice of architecture pattern should be determined by the unique needs of the project. The objective of this research is to evaluate the monolithic and microservices architectures for an ecommerce use case, and to propose guidelines for small- and large-scale enterprises on which architecture to implement.

Downloads

Download data is not yet available.

References

Raj, V. and Sadam, R. (2021) ‘Performance and complexity comparison of service oriented architecture and microservices architecture’, Int. J. Communication Networks and Distributed Systems, Vol. 27, No. 1, pp.100–117

G. Blinowski, A. Ojdowska and A. Przybyłek, "Monolithic vs. Microservice Architecture: A Performance and Scalability Evaluation," in IEEE Access, vol. 10, pp. 20357-20374, 2022, doi: 10.1109/ACCESS.2022.3152803

O. Al-Debagy and P. Martinek, "A Comparative Review of Microservices and Monolithic Architectures," 2018 IEEE 18th International Symposium on Computational Intelligence and Informatics (CINTI), 2018, pp. 000149-000154, doi: 10.1109/CINTI.2018.8928192.

K. Gos and W. Zabierowski, "The Comparison of Microservice and Monolithic Architecture," 2020 IEEE XVIth International Conference on the Perspective Technologies and Methods in MEMS Design (MEMSTECH), 2020, pp. 150-153, doi: 10.1109/MEMSTECH49584.2020.9109514.

D. Kuryazov, D. Jabborov and B. Khujamuratov, "Towards Decomposing Monolithic Applications into Microservices," 2020 IEEE 14th International Conference on Application of Information and Communication Technologies (AICT), 2020, pp. 1-4, doi: 10.1109/AICT50176.2020.9368571.

F. Ponce, G. Márquez and H. Astudillo, "Migrating from monolithic architecture to microservices: A Rapid Review," 2019 38th International Conference of the Chilean Computer Science Society (SCCC), 2019, pp. 1-7, doi: 10.1109/SCCC49216.2019.8966423.

G. Liu, B. Huang, Z. Liang, M. Qin, H. Zhou and Z. Li, "Microservices: architecture, container, and challenges," 2020 IEEE 20th International Conference on Software Quality, Reliability and Security Companion (QRS-C), 2020, pp. 629-635, doi: 10.1109/QRS-C51114.2020.00107.

Bogner J, Fritzsch J, Wagner S, Zimmermann A (2019) Assuring the evolvability of microservices: insights into industry practices and challenges. In: Proceedings of the 2019 IEEE international conference on software maintenance and evolution (ICSME), pp 546–556

Fritzsch J, Bogner J, Wagner S, Zimmermann A (2019) Microservices migration in industry: intentions, strategies, and challenges. In: Proceedings of the 2019 IEEE international conference on software maintenance and evolution (ICSME), pp 481–490

Balalaie, A., Heydarnoori, A. and Jamshidi, P. (2016) ‘Microservices architecture enables devops: migration to a cloud-native architecture’, IEEE Software, 18 March, Vol. 33, No. 3, pp.42–52.

R. Chen, S. Li, and Z. Li, “From Monolith to Microservices: A Dataflow-Driven Approach,” in 2017 24th Asia-Pacific Software Engineering Conference (APSEC), 2017, pp. 466–475.

L. Carvalho, A. Garcia, W. K. G. Assunç ao, R. de Mello, and M. J. de Lima, ``Analysis of the criteria adopted in industry to extract microservices,'' in Proc. Joint 7th Int. Workshop Conducting Empirical Stud. Ind., 2019, pp. 22-29.

J. Jaworski, W. Karwowski, and M. Rusek, ``Microservice-based cloud application ported to unikernels: Performance comparison of different technologies,'' in Proc. 40th Anniversary Int. Conf. Inf. Syst. Archit. Technol., L. Borzemski, J. wi¡tek, and Z. Wilimowska, Eds. Cham, Switzerland: Springer, 2019, pp. 255-264.

M. Jagieªªo, M. Rusek, and W. Karwowski, ``Performance and resilience to failures of an cloud-based application: Monolithic and microservices based architectures compared,'' in Computer Information Systems and Industrial Management, K. Saeed, R. Chaki, and V. Janev, Eds. Cham, Switzerland: Springer, 2019, pp. 445-456.

G. Granchelli, M. Cardarelli, P. Di Francesco, I. Malavolta, L. Iovino, and A. Di Salle, ``Towards recovering the software architecture of microservice-based systems,'' in Proc. IEEE Int. Conf. Softw. Archit.Workshops (ICSAW), Apr. 2017, pp. 4653.

Downloads

Published

12.06.2024

How to Cite

Meenakshi Thalor. (2024). Analysis of Monolithic and Microservices System Architectures for an E-Commerce Web Application. International Journal of Intelligent Systems and Applications in Engineering, 12(4), 2400–2406. Retrieved from https://www.ijisae.org/index.php/IJISAE/article/view/6627

Issue

Section

Research Article