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

Railgun:在MAD要求下管理大型流媒体窗口

Railgun: managing large streaming windows under MAD requirements

Ana Sofia Gomes, João Oliveirinha, Pedro Cardoso, Pedro Bizarro

摘要:

一些关键任务系统,例如,欺诈检测需要在要求高吞吐量和低延迟的应用上的长时间滑动窗口上的准确、实时度量。由于这些应用程序需要“永久”运行并应对大量尖峰数据负载,因此它们还需要在分布式环境中运行。我们不知道任何流媒体系统提供所有这些属性。相反,现有系统进行了大量简化,例如将滑动窗口实现为一组固定的重叠窗口,从而危及度量准确性(违反监管规则)或延迟(违反服务协议)。在本文中,我们提出了Railgun,这是一种容错、弹性的分布式流媒体系统,支持实时滑动窗口,适用于需要高负载和毫秒级延迟的场景。我们使用真实数据对Railgun的初始原型进行了基准测试,显示出比Flink显著更低的延迟和独立于窗口大小的低内存使用。此外,我们表明,轨道炮几乎线性扩展,即使在每秒100万个事件的负载下,也能在高分辨率(<250ms@99.9%)下达到我们的毫秒级延迟。

英文摘要:

Some mission critical systems, e.g., fraud detection, require accurate, real-time metrics over long time sliding windows on applications that demand high throughput and low latencies. As these applications need to run 'forever' and cope with large, spiky data loads, they further require to be run in a distributed setting. We are unaware of any streaming system that provides all those properties. Instead, existing systems take large simplifications, such as implementing sliding windows as a fixed set of overlapping windows, jeopardizing metric accuracy (violating regulatory rules) or latency (breaching service agreements). In this paper, we propose Railgun, a fault-tolerant, elastic, and distributed streaming system supporting real-time sliding windows for scenarios requiring high loads and millisecond-level latencies. We benchmarked an initial prototype of Railgun using real data, showing significant lower latency than Flink and low memory usage independent of window size. Further, we show that Railgun scales nearly linearly, respecting our msec-level latencies at high percentiles (<250ms @ 99.9%) even under a load of 1 million events per second.

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

↑