Microservices have become popular in the past few years, attracting the interest of both academia and industry. Despite of its benefits, this new architectural style still poses important challenges, such as resilience, performance and evolution. Self-adaptation techniques have been applied recently as an alternative to solve or mitigate those problems. However, due to the range of quality attributes that affect microservice architectures, many different self-adaptation strategies can be used. Thus, to understand the state-of-the-art of the use of self-adaptation techniques and mechanisms in microservice-based systems, this work conducted a systematic mapping, in which 21 primary studies were analyzed considering qualitative and quantitative research questions. The results show that most studies focus on the Monitor phase (28.57%) of the adaptation control loop, address the self-healing property (23.81%), apply a reactive adaptation strategy (80.95%) in the system infrastructure level (47.62%) and use a centralized approach (38.10%). From those, it was possible to propose some research directions to fill existing gaps.
翻译:尽管这种新的建筑风格带来了一些重大的挑战,例如复原力、性能和进化。自适应技术最近被作为一种解决或缓解这些问题的替代方法加以应用。然而,由于影响微观服务结构的质量属性范围之广,可以使用许多不同的自适应战略。因此,为了了解在微观服务系统中使用自适应技术和机制的最新技术,这项工作进行了系统测绘,其中对21项初级研究进行了分析,研究了定性和定量研究问题。结果显示,大多数研究侧重于适应控制环的监测阶段(28.57%),解决自愈合属性(23.81%),在系统基础设施一级(47.62%)采用被动适应战略(80.95%),并采用集中化方法(38.10%)。从这些研究中可以提出一些研究方向,以填补现有的空白。