Data stream processing is an increasingly important topic due to the prevalence of smart devices and the demand for real-time analytics. Geo-distributed streaming systems, where cloud-based queries utilize data streams from multiple distributed devices, face challenges since wide-area network (WAN) bandwidth is often scarce or expensive. Edge computing allows us to address these bandwidth costs by utilizing resources close to the devices, e.g. to perform sampling over the incoming data streams, which trades downstream query accuracy to reduce the overall transmission cost. In this paper, we leverage the fact that correlations between data streams may exist across devices located in the same geographical region. Using this insight, we develop a hybrid edge-cloud system which systematically trades off between sampling at the edge and estimation of missing values in the cloud to reduce traffic over the WAN. We present an optimization framework which computes sample sizes at the edge and systematically bounds the number of samples we can estimate in the cloud given the strength of the correlation between streams. Our evaluation with three real-world datasets shows that compared to existing sampling techniques, our system could provide comparable error rates over multiple aggregate queries while reducing WAN traffic by 27-42%.
翻译:由于智能设备的普及和实时分析的需求,数据流处理是一个日益重要的专题。 地理分布流系统,云基查询利用多个分布装置的数据流,由于广域网带宽往往稀缺或费用昂贵,因此面临挑战。 边缘计算使我们能够利用接近设备的资源解决这些带宽费用问题,例如,利用接近设备的资源对收到的数据流进行取样,从而交换下游查询的准确性,从而降低整个传输成本。 在本文中,我们利用数据流可能存在于同一地理区域的不同设备之间这一事实。我们利用这一洞察,开发了一个混合边宽线系统,在云边取样和缺损值估计之间系统地进行交换,以减少广域网的交通量。我们提出了一个优化框架,根据流之间的关联性,对云中样本数量进行计算,从而系统地限制我们所估计的样本数量。 我们用三个真实世界数据集进行的评估表明,与现有的取样技术相比,我们的系统可以提供可比较的差错率率,同时减少2742 %的广域网流量。