arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.02639cs.DC
收藏

共享安排:流媒体流的实用查询间共享

Shared Arrangements: practical inter-query sharing for streaming dataflows

Frank McSherry, Andrea Lattuada, Malte Schwarzkopf, Timothy Roscoe

摘要:

目前的系统,数据并行,增量处理和视图维护高速率流隔离独立查询的执行。这在存在并发增量维护的查询时产生了不必要的冗余和开销:每个查询必须独立地在相同的输入流上维护相同的索引状态,并且新查询必须在开始发出其第一个结果之前从头开始构建此状态。本文介绍了共享的安排:索引视图的维护状态,允许并发查询重用相同的内存中的状态,而不损害数据并行性能和伸缩。我们实现了共享的安排在一个现代的流处理器,并显示了数量级的改进,查询响应时间和资源消耗的交互式查询对高吞吐量的流,同时也显着提高性能,在其他领域,包括业务分析,图形处理,和程序分析。

英文摘要:

Current systems for data-parallel, incremental processing and view maintenance over high-rate streams isolate the execution of independent queries. This creates unwanted redundancy and overhead in the presence of concurrent incrementally maintained queries: each query must independently maintain the same indexed state over the same input streams, and new queries must build this state from scratch before they can begin to emit their first results. This paper introduces shared arrangements: indexed views of maintained state that allow concurrent queries to reuse the same in-memory state without compromising data-parallel performance and scaling. We implement shared arrangements in a modern stream processor and show order-of-magnitude improvements in query response time and resource consumption for interactive queries against high-throughput streams, while also significantly improving performance in other domains including business analytics, graph processing, and program analysis.

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

↑