Monolithic applications are being decomposed to a microservices architecture, aiming to improve maintainability, performance and modularization. Although such decompositions have now been widely carried out in the industry, little is reported in the literature about the impacts of these decompositions. This work, therefore, reports a case study carried out to investigate the impacts of the decomposition of a real industry application for microservices architecture. The target application of the study refers to a raid operation, performed by a financial institution, which was extracted from a monolithic application to an application based on microservices. In particular, metrics were applied to monolithic and microservice-based applications, aiming to quantify coupling, cohesion, CPU consumption and memory consumption. The results obtained show that the microservices architecture generated better results for the software modularity metrics, in addition to lower memory and CPU consumption. Finally, this work brings insight and points out challenges and future directions of research that need to be explored by academia and industry.
翻译:单片应用正在被分解成微服务结构,目的是改进维持性、性能和模块化,虽然这种分解现已在工业中广泛进行,但文献中很少报告这些分解的影响,因此,这项工作报告了为调查微服务结构实际工业应用分解的影响而进行的案例研究,研究的目标应用是指金融机构进行的突击行动,从单片应用中提取到基于微服务的应用中,特别是用于单片和基于微服务的应用中,目的是量化联结、凝聚、CPU消费和记忆消耗。取得的结果表明,微服务结构除了减少记忆和CPU消费外,还为软件模块化指标带来了更好的结果。最后,这项工作带来了深刻的见解,指出了学术界和工业界需要探讨的挑战和未来研究方向。