arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.09747cs.DCcs.DB
收藏

分布式实时数据流的在线分析

Online Analysis of Distributed Dataflows with Timely Dataflow

Malte Sandstede

摘要:

我们提出了ST 2,一个端到端的解决方案,以分析在在线设置的分布式数据流。它由Timely Dataflow提供支持,Timely Dataflow是一种低延迟,分布式数据并行的并行计算框架,并扩展了其前身SnailTrail 1,该系统可以在源自并行执行跟踪的程序活动图上运行在线关键路线分析。ST2连接到一个正在运行的Timely计算,创建程序活动图表示,并在其上运行多个分析。分析包括聚合度量、进度和时间不变检查以及图模式匹配。通过命令行界面和实时仪表板,用户可以与ST2的分析结果进行交互和可视化。对于ST2的实现,我们讨论了差分数据流,这是一个使用差分计算来递增甚至复杂的关系型数据流运算符的框架,作为Timely Dataflow的替代方案,但最终还是使用Timely。在我们的性能评估中,我们能够表明,ST 2能够轻松地跟上离线和在线设置中的常见流计算,甚至超过SnailTrail 1的性能。我们还展示和评估ST2从功能的角度来看,在一个案例研究。使用仪表板来分析错误的源计算,我们成功地检测到问题的根本原因。我们认为,ST 2是一个可扩展的系统,为用户调试,监控和优化在线分布式的分布式系统。

英文摘要:

We present ST2, an end-to-end solution to analyze distributed dataflows in an online setting. It is powered by Timely Dataflow, a low-latency, distributed data-parallel dataflow computational framework, and expands on its predecessor SnailTrail 1, a system to run online critical path analysis on program activity graphs derived from dataflow execution traces. ST2 connects to a running Timely computation, creates the program activity graph representation, and runs multiple analyses on top of it. Analyses include aggregate metrics, progress and temporal invariant checking, and graph pattern matching. Through a command-line interface and a real-time dashboard, users are able to interact with and visualize ST2's analysis results. For ST2's implementation, we discuss Differential Dataflow, a framework that uses differential computation to incrementalize even complex relational dataflow operators, as an alternative to Timely Dataflow, but ultimately settle on using Timely. In our performance evaluations, we are able to show that ST2 is able to comfortably keep up with common streaming computations in offline and online settings, even exceeding SnailTrail 1's performance. We also showcase and evaluate ST2 from a functional standpoint in a case study. Using the dashboard to profile a faulty source computation, we manage to successfully detect the issues' root cause. We argue that ST2 is an extendable system that paves the way for users to debug, monitor, and optimize online distributed dataflows.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑