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

经济高效的横向扩展数据架构的高效路由

Efficient Routing for Cost Effective Scale-out Data Architectures

Ashwin Narayan, Vuk Markovic, Natalia Postawa, Anna King, Alejandro Morales, K. Ashwin Kumar, Petros Efstathopoulos

摘要:

在使用大数据系统时,有效的信息检索至关重要。在大型横向扩展数据体系结构中,数据跨多台机器分布和复制。发送到这样的数据架构的数据/任务被发送到路由器,该路由器确定包含所请求的数据的机器。理想情况下,为了降低分析的总体成本,路由器应该返回满足查询所需的最小机器集。在数学上,这可以被建模为集合覆盖问题,这是NP难的,从而使路由过程在最优性和性能之间取得平衡。即使存在用于路由单个查询的有效贪婪近似算法,当前也没有比对每个查询重复运行贪婪集合覆盖算法更好的用于处理多个查询的方法。这种方法对于大数据系统是不切实际的,最先进的技术将查询路由到所有机器,并选择响应最快的机器作为覆盖。在本文中,我们提出了一种有效的技术,以加快路由的大量实时查询,同时尽量减少每个查询接触(查询跨度)的机器的数量。我们证明,通过分析已知查询和执行查询聚类之间的相关性,我们可以减少集合覆盖计算时间,从而显着加快未知查询的路由。实验表明,我们的增量集覆盖为基础的路由是2.5倍的速度,可以返回平均少50%的机器每次查询相比,重复贪婪集覆盖和基线路由技术。

英文摘要:

Efficient retrieval of information is of key importance when using Big Data systems. In large scale-out data architectures, data are distributed and replicated across several machines. Queries/tasks to such data architectures, are sent to a router which determines the machines containing the requested data. Ideally, to reduce the overall cost of analytics, the smallest set of machines required to satisfy the query should be returned by the router. Mathematically, this can be modeled as the set cover problem, which is NP-hard, thus making the routing process a balance between optimality and performance. Even though an efficient greedy approximation algorithm for routing a single query exists, there is currently no better method for processing multiple queries than running the greedy set cover algorithm repeatedly for each query. This method is impractical for Big Data systems and the state-of-the-art techniques route a query to all machines and choose as a cover the machines that respond fastest. In this paper, we propose an efficient technique to speedup the routing of a large number of real-time queries while minimizing the number of machines that each query touches (query span). We demonstrate that by analyzing the correlation between known queries and performing query clustering, we can reduce the set cover computation time, thereby significantly speeding up routing of unknown queries. Experiments show that our incremental set cover-based routing is 2.5 times faster and can return on average 50% fewer machines per query when compared to repeated greedy set cover and baseline routing techniques.

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

↑