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

事件驱动架构对软件模块化影响的探索性研究

An exploratory study on the effects of event-driven architecture on software modularity

Luan Lazzari, Kleinner Farias

摘要:

事件驱动架构已在软件行业中得到广泛采用,成为基于REST架构风格的企业应用程序开发的替代方案。然而,很少有人知道事件驱动的架构对模块化的影响,而企业应用程序的发展。因此,实践者最终在没有任何经验证据表明其对基本指标的影响的情况下采用了它,包括关注事项的分离、耦合、凝聚力、复杂性和规模。因此,本文报告了一项探索性研究,从模块化的角度比较了事件驱动架构和REST风格。一个真实世界的应用程序开发使用事件驱动的架构和REST通过五个演变的场景。在每个场景中,都添加了一个功能。使用十个指标比较生成的版本。最初的结果表明,事件驱动的架构改善了关注点的分离,但考虑到耦合,内聚,复杂性和规模的度量优于。这些发现是令人鼓舞的,并且可以被视为更雄心勃勃的议程的第一步,以经验评估事件驱动架构相对于REST风格的好处。

英文摘要:

Event-driven architecture has been widely adopted in the software industry, emerging as an alternative to the development of enterprise applications based on the REST architectural style. However, little is known about the effects of event-driven architecture on modularity while enterprise applications evolve. Consequently, practitioners end up adopting it without any empirical evidence about its impacts on essential indicators, including separation of concerns, coupling, cohesion, complexity and size. This article, therefore, reports an exploratory study comparing event-driven architecture and REST style in terms of modularity. A real-world application was developed using an event-driven architecture and REST through five evolution scenarios. In each scenario, a feature was added. The generated versions were compared using ten metrics. The initial results suggest that the event-driven architecture improved the separation of concerns, but was outperformed considering the metrics of coupling, cohesion, complexity and size. The findings are encouraging and can be seen as a first step in a more ambitious agenda to empirically evaluate the benefits of event-driven architecture against the REST style.

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

↑