在云微服务中运用软件多样性以构建可靠且高性能的系统
Employing Software Diversity in Cloud Microservices to Engineer Reliable and Performant Systems
AI总结:
针对软件迭代带来的漏洞与性能异常等问题,提出基于软件多样性的方法,推导可靠性指标,设计动态控制器与多样性感知自动扩缩容算法,实验验证其可同时提升云微服务系统的可靠性与性能。
摘要:
在软件工程不断变化的格局中,我们认识到需要通过适应与演进来维持系统的可靠性。由于每次软件迭代都可能带来新的挑战,从不可预见的漏洞到性能异常,因此理解并解决这些复杂问题,以确保系统在全生命周期内的稳健运行至关重要。本研究提出运用软件多样性来同时提升系统的可靠性与性能。我们工作的核心是推导了一种可靠性指标,该指标涵盖了每个软件版本在不利条件下的可靠性与性能表现。基于计算得到的可靠性分数,我们实现了一个动态控制器,负责调整每个软件版本的实例数量。其目标是为更可靠的版本维持更高的副本数,同时尽可能保留版本的多样性。这种平衡对于确保系统在应对一系列潜在故障时的可靠性与性能都至关重要。此外,我们设计并实现了一种感知多样性的自动扩缩容算法,该算法可在任意规模下同时维持系统的可靠性与性能。我们在基于真实云微服务的应用上开展了大量实验,结果表明本文提出的方法在提升可靠性与性能两方面均具备有效性。
英文摘要:
In the ever-shifting landscape of software engineering, we recognize the need for adaptation and evolution to maintain system dependability. As each software iteration potentially introduces new challenges, from unforeseen bugs to performance anomalies, it becomes paramount to understand and address these intricacies to ensure robust system operations during the lifetime. This work proposes employing software diversity to enhance system reliability and performance simultaneously. A cornerstone of our work is the derivation of a reliability metric. This metric encapsulates the reliability and performance of each software version under adverse conditions. Using the calculated reliability score, we implemented a dynamic controller responsible for adjusting the population of each software version. The goal is to maintain a higher replica count for more reliable versions while preserving the diversity of versions as much as possible. This balance is crucial for ensuring not only the reliability but also the performance of the system against a spectrum of potential failures. In addition, we designed and implemented a diversity-aware autoscaling algorithm that maintains the reliability and performance of the system at the same time and at any scale. Our extensive experiments on realistic cloud microservice-based applications show the effectiveness of the proposed approach in this paper in promoting both reliability and performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。