Skip to main content
QUICK REVIEW

[Paper Review] ArrayBridge: Interweaving declarative array processing with high-performance computing

Haoyuan Xing, Sofoklis Floratos|arXiv (Cornell University)|Feb 27, 2017
Algorithms and Data CompressionComputer Science31 references3 citations
TL;DR

ArrayBridge enables direct, high-performance declarative array processing over external HDF5 files by providing a bi-directional virtual view that bypasses slow data loading, supports parallel I/O, and enables time-travel queries through transparent chunk deduplication. It achieves I/O scalability and performance indistinguishable from native SciDB storage while preserving backward compatibility with the HDF5 API.

ABSTRACT

Scientists are increasingly turning to datacenter-scale computers to produce and analyze massive arrays. Despite decades of database research that extols the virtues of declarative query processing, scientists still write, debug and parallelize imperative HPC kernels even for the most mundane queries. This impedance mismatch has been partly attributed to the cumbersome data loading process; in response, the database community has proposed in situ mechanisms to access data in scientific file formats. Scientists, however, desire more than a passive access method that reads arrays from files. This paper describes ArrayBridge, a bi-directional array view mechanism for scientific file formats, that aims to make declarative array manipulations interoperable with imperative file-centric analyses. Our prototype implementation of ArrayBridge uses HDF5 as the underlying array storage library and seamlessly integrates into the SciDB open-source array database system. In addition to fast querying over external array objects, ArrayBridge produces arrays in the HDF5 file format just as easily as it can read from it. ArrayBridge also supports time travel queries from imperative kernels through the unmodified HDF5 API, and automatically deduplicates between array versions for space efficiency. Our extensive performance evaluation in NERSC, a large-scale scientific computing facility, shows that ArrayBridge exhibits statistically indistinguishable performance and I/O scalability to the native SciDB storage engine.

Motivation & Objective

  • Scientists face performance and usability bottlenecks when using declarative array databases like SciDB due to slow, space-intensive data loading for large HDF5 datasets.
  • Existing in situ access mechanisms are passive and do not support efficient materialization or versioned array access from imperative HPC kernels.
  • There is a need for a system that enables bidirectional interoperability between declarative array processing and file-centric HPC workflows, especially for time-travel and versioned array queries.
  • The objective is to design and implement a system that allows direct querying and efficient writing of arrays to HDF5 files, while preserving backward compatibility with the HDF5 API and minimizing storage overhead.
  • The goal is to achieve performance and I/O scalability comparable to native database storage, even for multi-TiB datasets.

Proposed method

  • ArrayBridge introduces a virtual view abstraction that presents a single logical array across multiple HDF5 files, enabling transparent access to partitioned datasets without application changes.
  • It uses a parallel write mechanism that partitions writes into independent streams, bypassing the single-writer constraint of HDF5 to achieve high I/O scalability.
  • The system integrates with SciDB’s query execution engine to evaluate AQL/AFL queries directly on external HDF5 objects, eliminating the need for data loading and redimensioning.
  • For versioned arrays, ArrayBridge automatically deduplicates identical data chunks across versions, reducing storage footprint without modifying the HDF5 file structure.
  • Time travel queries are supported via the unmodified HDF5 API, allowing existing imperative applications to access past versions transparently.
  • The prototype is built on HDF5 and integrates natively with the open-source SciDB array database system, enabling seamless interoperability with scientific HPC pipelines.

Experimental results

Research questions

  • RQ1Can declarative array processing be efficiently performed directly on external HDF5 files without loading data into a native database format?
  • RQ2How can the single-writer constraint of HDF5 be overcome to enable high-performance parallel writes for large-scale array workloads?
  • RQ3Can versioned array objects be stored efficiently in HDF5 with minimal storage overhead while preserving access via the standard HDF5 API?
  • RQ4To what extent can a virtual view mechanism enable transparent, high-performance access to partitioned HDF5 datasets across multiple compute nodes?
  • RQ5Does the integration of declarative query processing with file-centric HPC workflows achieve I/O scalability and performance comparable to native database storage?

Key findings

  • ArrayBridge enables querying multi-TiB HDF5 datasets in a few minutes, bypassing a multi-hour data loading process required by native SciDB.
  • The system exhibits statistically indistinguishable I/O scalability and performance compared to SciDB’s native storage engine, even at scale up to 32 nodes.
  • Parallel writes to HDF5 via the virtual view achieve near-ideal scalability, overcoming the inherent single-writer bottleneck of HDF5.
  • ArrayBridge reduces storage overhead for versioned arrays by deduplicating unmodified data chunks between versions, significantly improving space efficiency.
  • Existing applications using the standard HDF5 API can transparently perform time travel queries to access past versions of arrays without code changes.
  • The scan component of ArrayBridge has been released in the 2017 community edition of SciDB and is being deployed in a large-scale scientific computing facility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.