TY - JOUR
T1 - Toward real-time data query systems in HEP
AU - Pivarski, Jim
AU - Lange, David
AU - Jatuphattharachat, Thanat
N1 - Funding Information:
This work was supported by the National Science Foundation under grants ACI-1450377 and PHY-1624356.
Publisher Copyright:
© 2018 Institute of Physics Publishing. All rights reserved.
PY - 2018/10/18
Y1 - 2018/10/18
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=85055648959&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85055648959&partnerID=8YFLogxK
U2 - 10.1088/1742-6596/1085/3/032044
DO - 10.1088/1742-6596/1085/3/032044
M3 - Conference article
AN - SCOPUS:85055648959
SN - 1742-6588
VL - 1085
JO - Journal of Physics: Conference Series
JF - Journal of Physics: Conference Series
IS - 3
M1 - 032044
T2 - 18th International Workshop on Advanced Computing and Analysis Techniques in Physics Research, ACAT 2017
Y2 - 21 August 2017 through 25 August 2017
ER -