DynamiQ:网络流分析系统中的动态规划
DynamiQ: Planning for Dynamics in Network Streaming Analytics Systems
摘要:
可编程数据平面目标的出现激发了网络流分析系统的新混合设计,该系统将这些目标的快速分组处理速度与现代流处理器中可用的丰富计算资源相结合。然而,这些系统需要仔细的查询规划;也就是说,指定执行给定查询集的详细信息,以便最好地利用数据平面目标提供的有限资源和可编程性。我们使用这样一个现有的系统,索纳塔,和现实世界的数据包跟踪,以了解如何执行一个固定的查询工作负载的流量,定义目标的输入工作负载的未知动态的影响。我们观察到,静态查询规划,所采用的Sonata,不能处理输入工作量的变化,甚至很小,浪费数据平面的资源,查询执行主要局限于用户空间。本文介绍了DynamiQ的设计和实现,DynamiQ是一个新的网络流媒体分析平台,采用动态查询规划来处理真实世界的输入工作负载的动态。具体来说,我们开发了一套实用的算法(i)计算有效的初始查询计划(开始查询执行)和(ii)使有效的更新部分这样的初始查询计划在运行时(以适应输入工作量的变化)。使用现实世界的数据包跟踪作为输入工作量,我们表明,相比索纳塔,DynamiQ减少了两个数量级的流处理器的工作量。
英文摘要:
The emergence of programmable data-plane targets has motivated a new hybrid design for network streaming analytics systems that combine these targets' fast packet processing speeds with the rich compute resources available at modern stream processors. However, these systems require careful query planning; that is, specifying the minute details of executing a given set of queries in a way that makes the best use of the limited resources and programmability offered by data-plane targets. We use such an existing system, Sonata, and real-world packet traces to understand how executing a fixed query workload is affected by the unknown dynamics of the traffic that defines the target's input workload. We observe that static query planning, as employed by Sonata, cannot handle even small changes in the input workload, wasting data-plane resources to the point where query execution is confined mainly to userspace. This paper presents the design and implementation of DynamiQ, a new network streaming analytics platform that employs dynamic query planning to deal with the dynamics of real-world input workloads. Specifically, we develop a suite of practical algorithms for (i) computing effective initial query plans (to start query execution) and (ii) enabling efficient updating of portions of such an initial query plan at runtime (to adapt to changes in the input workload). Using real-world packet traces as input workload, we show that compared to Sonata, DynamiQ reduces the stream processor's workload by two orders of magnitude.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。