arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.10434cs.SE
收藏

从业界从业者视角洞察微服务架构

Insights on Microservice Architecture Through the Eyes of Industry Practitioners

Vinicius L. Nogueira, Fernando S. Felizardo, Aline M. M. M. Amaral, Wesley K. G. Assuncao, Thelma E. Colanzi

AI总结:

本研究通过对53名国际软件从业者的混合方法研究,分析了单体系统向微服务迁移的驱动力、实施活动、数据一致性策略及挑战,揭示了相关实践痛点与云技术的支撑作用。

摘要:

近年来,微服务架构的采用率大幅上升,主要受遗留系统现代化改造及解决其局限性的需求推动。遗留系统通常被设计为单体应用,往往在维护、可扩展性和部署效率方面存在困难。本研究调查了从单体遗留系统向微服务迁移相关的动机、活动与挑战,旨在从从业者视角阐明常见实践与挑战。我们对53名使用微服务的软件从业者开展了综合研究,通过纳入多元国际视角拓展了已有研究。我们采用混合方法,包括定量与定性分析,聚焦四个主要方面:(i)迁移背后的驱动力,(ii)实施迁移的活动,(iii)数据一致性管理策略,(iv)普遍存在的挑战。研究结果揭示了从业者在迁移到微服务过程中面临的多样化实践与挑战。企业关注技术收益,致力于改善维护、可扩展性和部署流程。微服务环境中的测试仍然复杂,全面的监控对于管理微服务的动态特性至关重要。数据库管理仍具挑战性:尽管大多数参与者出于自主性和可扩展性偏好去中心化数据库,但在确保数据一致性方面仍存在挑战。此外,许多企业利用现代云技术缓解网络开销,凸显了云基础设施在实现高效微服务通信方面的重要性。

英文摘要:

The adoption of microservice architecture has seen a considerable upswing in recent years, mainly driven by the need to modernize legacy systems and address their limitations. Legacy systems, typically designed as monolithic applications, often struggle with maintenance, scalability, and deployment inefficiencies. This study investigates the motivations, activities, and challenges associated with migrating from monolithic legacy systems to microservices, aiming to shed light on common practices and challenges from a practitioner's point of view. We conducted a comprehensive study with 53 software practitioners who use microservices, expanding upon previous research by incorporating diverse international perspectives. Our mixed-methods approach includes quantitative and qualitative analyses, focusing on four main aspects: (i) the driving forces behind migration, (ii) the activities to conduct the migration, (iii) strategies for managing data consistency, and (iv) the prevalent challenges. Thus, our results reveal diverse practices and challenges practitioners face when migrating to microservices. Companies are interested in technical benefits, enhancing maintenance, scalability, and deployment processes. Testing in microservice environments remains complex, and extensive monitoring is crucial to managing the dynamic nature of microservices. Database management remains challenging. While most participants prefer decentralized databases for autonomy and scalability, challenges persist in ensuring data consistency. Additionally, many companies leverage modern cloud technologies to mitigate network overhead, showcasing the importance of cloud infrastructure in facilitating efficient microservice communication.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑