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

面向HEP的实时的数据查询系统

Toward real-time data query systems in HEP

Jim Pivarski, David Lange, Thanat Jatuphattharachat

摘要:

探索性数据分析工具必须快速响应用户的问题,以便对一个问题的答案(例如可视化直方图或拟合)可以影响下一个问题。在工业中使用的一些基于SQL的查询系统中,即使非常大(PB)的数据集也可以在人类时间尺度(秒)上进行汇总,采用诸如列式数据表示、缓存、索引和代码生成/JIT编译等技术。本文介绍了实现这样一个系统的高能物理(HEP)的进展,集中在优化数据访问和计算的“查询大小”的有效载荷,如一个单一的直方图或一组直方图,而不是大的重建或数据略读作业的中间问题。这些技术包括将ROOT TBranches直接提取到Numpy数组中,以及编译Python分析函数(而不是SQL)以快速执行。我们还将讨论缓存和主动将作业传递到工作节点的问题,这些工作节点在缓存中预加载了必要的输入数据。更大解决方案的所有这些部分都可以作为独立的GitHub存储库使用,并且可以用于当前的分析。

英文摘要:

Exploratory data analysis tools must respond quickly to a user's questions, so that the answer to one question (e.g. a visualized histogram or fit) can influence the next. In some SQL-based query systems used in industry, even very large (petabyte) datasets can be summarized on a human timescale (seconds), employing techniques such as columnar data representation, caching, indexing, and code generation/JIT-compilation. This article describes progress toward realizing such a system for High Energy Physics (HEP), focusing on the intermediate problems of optimizing data access and calculations for "query sized" payloads, such as a single histogram or group of histograms, rather than large reconstruction or data-skimming jobs. These techniques include direct extraction of ROOT TBranches into Numpy arrays and compilation of Python analysis functions (rather than SQL) to be executed very quickly. We will also discuss the problem of caching and actively delivering jobs to worker nodes that have the necessary input data preloaded in cache. All of these pieces of the larger solution are available as standalone GitHub repositories, and could be used in current analyses.

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

↑