[论文解读] Elascale: autoscaling and monitoring as a service
Elascale 提出了一种用于云应用的监控与自动弹性伸缩即服务(autoscaling-as-a-service)框架,利用 Elasticsearch 堆栈收集并分析性能指标,支持对微服务和宏服务的动态调整。它通过可扩展的插件和策略支持反应式与主动式伸缩,为包括物联网和大数据系统在内的多样化云工作负载提供零依赖集成。
Auto-scalability has become an evident feature for cloud software systems including but not limited to big data and IoT applications. Cloud application providers now are in full control over their applications' microservices and macroservices; virtual machines and containers can be provisioned or deprovisioned on demand at run-time. Elascale strives to adjust both micro/macro resources with respect to workload and changes in the internal state of the whole application stack. Elascale leverages Elasticsearch stack for collection, analysis and storage of performance metrics. Elascale then uses its default scaling engine to elastically adapt the managed application. Extendibility is guaranteed through provider, schema, plug-in and policy elements in the Elascale by which flexible scalability algorithms, including both reactive and proactive techniques, can be designed and implemented for various technologies, infrastructures and software stacks. In this paper, we present the architecture and initial implementation of Elascale; an instance will be leveraged to add auto-scalability to a generic IoT application. Due to zero dependency to the target software system, Elascale can be leveraged to provide auto-scalability and monitoring as-a-service for any type of cloud software system.
研究动机与目标
- 为应对云原生环境中对动态、应用感知自动伸缩日益增长的需求,特别是针对物联网和大数据工作负载。
- 将监控与自动伸缩逻辑与目标应用解耦,实现通用化、可重用的部署。
- 提供一个灵活、可扩展的框架,支持在异构基础设施上同时实现反应式与主动式伸缩策略。
- 利用 Elasticsearch 堆栈实现可扩展、实时的性能指标收集、分析与存储。
提出的方法
- 利用 Elasticsearch 堆栈实时摄入、索引并分析云工作负载的性能指标。
- 采用默认的伸缩引擎,根据工作负载和内部状态变化动态分配或释放虚拟机与容器。
- 通过提供者(provider)、模式(schema)、插件(plugin)和策略(policy)组件实现可扩展性,以针对不同技术与部署栈自定义伸缩逻辑。
- 通过可插拔算法支持反应式(事件驱动)与主动式(预测性)伸缩策略。
- 系统设计为对目标应用零运行时依赖,实现与多样化软件栈的无缝集成。
- 架构设计统一管理微服务与宏服务,实现统一的弹性管理。
实验结果
研究问题
- RQ1如何设计一个统一、可扩展的框架,以实现对多样化云应用的监控与自动伸缩即服务?
- RQ2哪些架构模式能够支持在异构基础设施与软件栈中实现反应式与主动式伸缩?
- RQ3如何实现对性能指标的实时收集、分析与响应,同时与目标应用的耦合度最低?
- RQ4通过何种机制可确保伸缩策略的可扩展性与运行时适应性,而无需修改目标系统?
- RQ5如何有效利用 Elasticsearch 堆栈实现可扩展、低延迟的监控与自动伸缩决策?
主要发现
- Elascale 有效实现了自动伸缩与监控逻辑与目标应用的解耦,支持在多样化云工作负载中实现零依赖部署。
- 通过可自定义的插件与策略,框架支持反应式与主动式伸缩策略,显著提升了对不同工作负载模式的适应能力。
- 通过 Elasticsearch 堆栈实现实时性能指标处理,实现了资源分配与释放的低延迟决策。
- 通过提供者、模式、插件与策略的抽象,架构展现出良好的可扩展性,支持与不同基础设施与软件栈的集成。
- 初步评估表明,Elascale 可有效应用于通用物联网应用,实现无需修改应用逻辑的动态弹性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。