Affiliation:
1. University of Minnesota, Twin Cities, Minneapolis, MN, USA
2. University of Massachusetts, Amherst, Amherst, MA, USA
Abstract
Streaming analytics require real-time aggregation and processing of geographically distributed data streams continuously over time. The typical analytics infrastructure for processing such streams follow a hub-and-spoke model, comprising multiple edges connected to a center by a wide-area network (WAN). The aggregation of such streams often require that the results be available at the center within a certain acceptable delay bound. Further, the WAN bandwidth available between the edges and the center is often scarce or expensive, requiring that the traffic between the edges and the center be minimized. We propose a novel Time-to-Live (TTL-)based mechanism for real-time aggregation that provably optimizes both delay and traffic, providing a theoretical basis for understanding the delay-traffic tradeoff that is fundamental to streaming analytics. Our TTL-based optimization model provides analytical answers to how much aggregation should be performed at the edge versus the center, how much delay can be incurred at the edges, and how the edge-to-center bandwidth must be apportioned across applications with different delay requirements. To evaluate our approach, we implement our TTL-based aggregation mechanism in Apache Flink, a popular stream analytics framework. We deploy our Flink implementation in a hub-and-spoke architecture on geo-distributed Amazon EC2 data centers and a WAN-emulated local testbed, and run aggregation tasks for realistic workloads derived from extensive Akamai and Twitter traces. The delay-traffic tradeoff achieved by our Flink implementation agrees closely with theoretical predictions of our model. We show that by deriving the optimal TTLs using our model, our system can achieve a "sweet spot" where both delay and traffic are minimized, in comparison to traditional aggregation schemes such as batching and streaming.
Funder
Army Research Laboratory
National Science Foundation
U.K. Ministry of Defense
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Networks and Communications,Hardware and Architecture,Safety, Risk, Reliability and Quality,Computer Science (miscellaneous)
Reference37 articles.
1. Akamai Download Analytics solution. Accessed: 2018--10--29. https://www.akamai.com/us/en/multimedia/documents/product-brief/download-analytics-product-brief.pdf. Akamai Download Analytics solution. Accessed: 2018--10--29. https://www.akamai.com/us/en/multimedia/documents/product-brief/download-analytics-product-brief.pdf.
2. Akamai Download Manager. Accessed: 2018--10--29. https://www.akamai.com/us/en/products/media-delivery/download-manager-overview.jsp. Akamai Download Manager. Accessed: 2018--10--29. https://www.akamai.com/us/en/products/media-delivery/download-manager-overview.jsp.
3. Akamai Media Analytics. Accessed: 2018--10--29. https://www.akamai.com/us/en/products/media-delivery/media-analytics.jsp. Akamai Media Analytics. Accessed: 2018--10--29. https://www.akamai.com/us/en/products/media-delivery/media-analytics.jsp.
4. Tyler Akidau Eric Schmidt Sam Whittle Robert Bradshaw Craig Chambers Slava Chernyak Rafael J. Fernández-Moctezuma Reuven Lax Sam McVeety Daniel Mills and Frances Perry. 2015. The dataflow model: a practical approach to balancing correctness latency and cost in massive-scale unbounded out-of-order data processing. (2015). Tyler Akidau Eric Schmidt Sam Whittle Robert Bradshaw Craig Chambers Slava Chernyak Rafael J. Fernández-Moctezuma Reuven Lax Sam McVeety Daniel Mills and Frances Perry. 2015. The dataflow model: a practical approach to balancing correctness latency and cost in massive-scale unbounded out-of-order data processing. (2015).
5. Memory-efficient groupby-aggregate using compressed buffer trees
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献