事件源系统的经验表征及其图式演化--以工业为例
An Empirical Characterization of Event Sourced Systems and Their Schema Evolution -- Lessons from Industry
摘要:
事件源系统越来越受欢迎,因为它们是可靠的,灵活的,可伸缩的。在本文中,我们将用显微镜观察一种软件体系结构模式,这种模式在行业中迅速流行,但还没有得到科学界的关注。我们这样做,通过建构主义扎根理论,这证明了一个合适的定性方法提取从业者的建筑知识。基于对19个事件源系统的讨论,我们探讨了事件源模式的基本原理和背景。模式本身的描述及其与其他模式的关系,与从业者讨论。描述本身是基于25名工程师的经验,使其成为新从业者和科学家的可靠来源。我们确定了从业者面临的五个挑战:事件系统演变、陡峭的学习曲线、缺乏可用技术、重建预测和数据隐私。对于事件系统演化的第一个挑战,我们揭示了五种策略和解决方案,支持从业者在开发演化的事件源系统时的设计选择:版本化事件,弱模式,向上投射,就地转换和复制和转换。
英文摘要:
Event sourced systems are increasing in popularity because they are reliable, flexible, and scalable. In this article, we point a microscope at a software architecture pattern that is rapidly gaining popularity in industry, but has not received as much attention from the scientific community. We do so through constructivist grounded theory, which proves a suitable qualitative method for extracting architectural knowledge from practitioners. Based on the discussion of 19 event sourced systems we explore the rationale for and the context of the event sourcing pattern. A description of the pattern itself and its relation to other patterns as discussed with practitioners is given. The description itself is grounded in the experience of 25 engineers, making it a reliable source for both new practitioners and scientists. We identify five challenges that practitioners experience: event system evolution, the steep learning curve, lack of available technology, rebuilding projections, and data privacy. For the first challenge of event system evolution, we uncover five tactics and solutions that support practitioners in their design choices when developing evolving event sourced systems: versioned events, weak schema, upcasting, in-place transformation, and copy-and-transform.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。