MIPS:基于蒙特卡罗树搜索的流处理系统实例放置
MIPS: Instance Placement for Stream Processing Systems based on Monte Carlo Tree Search
摘要:
流处理引擎使现代系统能够实时的对无限数据流进行大规模分析。他们通常将应用程序视为一个直接的非循环图,其中流流经各种处理单元的流水线实例。出现的一个关键挑战是实例放置,即,以决定实例在服务器上的放置,使服务器间的流量最小,资源利用率最大。这一挑战不仅源于其内在的复杂性,还源于连续应用程序部署之间的影响。大多数更新的引擎,如Apache Heron,都采用了更加模块化的调度器设计,将任务分解为两个阶段:一个阶段决定实例到容器的映射,另一个阶段则专注于委托给独立资源管理器的容器到服务器的映射。两个阶段中的目标和调度器设计不一致可能导致长响应时间或低利用率。然而,迄今为止,似乎没有开展什么工作来应对这一挑战。最近成功的应用程序的蒙特卡罗树搜索(MCTS)方法在各个领域的启发,我们开发了一种新的模型来描述这样的系统,制定的问题,并投到一个顺序的决策过程中的每个阶段的映射。通过采用MCTS方法,我们提出了MIPS,一个基于MCTS的实例放置方案,以决定两阶段的映射及时而有效的方式。此外,我们讨论了实际问题,并完善MIPS,以进一步提高其性能。大量的仿真结果表明,给定温和的样本值,MIPS优于现有的计划,显着的流量减少和利用率的提高。据我们所知,本文是第一个研究两阶段映射问题,并应用MCTS解决这一挑战。
英文摘要:
Stream processing engines enable modern systems to conduct large-scale analytics over unbounded data streams in real time. They often view an application as a direct acyclic graph with streams flowing through pipelined instances of various processing units. One key challenge that emerges is instance placement, i.e., to decide the placement of instances across servers with minimum traffic across servers and maximum resource utilization. The challenge roots in not only its intrinsic complexity but also the impact between successive application deployments. Most updated engines such as Apache Heron exploits a more modularized scheduler design that decomposes the task into two stages: One decides the instance-to-container mapping while the other focuses on the container-to-server mapping that is delegated to standalone resource managers. The unaligned objectives and scheduler designs in the two stages may lead to long response times or low utilization. However, so far little work has appeared to address the challenge. Inspired by the recent success of applications of Monte Carlo Tree Search (MCTS) methods in various fields, we develop a novel model to characterize such systems, formulate the problem, and cast each stage of mapping into a sequential decision process. By adopting MCTS methods, we propose MIPS, an MCTS-based Instance Placement Scheme to decide the two-staged mapping in a timely yet efficient manner. In addition, we discuss practical issues and refine MIPS to further improve its performance. Results from extensive simulations show, given mild-value of samples, MIPS outperforms existing schemes with a significant traffic reduction and utilization improvement. To our best knowledge, this paper is the first to study the two-staged mapping problem and to apply MCTS to solving the challenge.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。