Skip to main navigation Skip to search Skip to main content

A performance comparison of dask and apache spark for data-intensive neuroimaging pipelines

  • Concordia University

Research output: Contribution to Book/Report types › Contribution to conference proceedings › peer-review

13 Citations (Scopus)

Abstract

In the past few years, neuroimaging has entered the Big Data era due to the joint increase in image resolution, data sharing, and study sizes. However, no particular Big Data engines have emerged in this field, and several alternatives remain available. We compare two popular Big Data engines with Python APIs, Apache Spark and Dask, for their runtime performance in processing neuroimaging pipelines. Our evaluation uses two synthetic pipelines processing the 81GB BigBrain image, and a real pipeline processing anatomical data from more than 1,000 subjects. We benchmark these pipelines using various combinations of task durations, data sizes, and numbers of workers, deployed on an 8-node (8 cores ea.) compute cluster in Compute Canada's Arbutus cloud. We evaluate PySpark's RDD API against Dask's Bag, Delayed and Futures. Results show that despite slight differences between Spark and Dask, both engines perform comparably. However, Dask pipelines risk being limited by Python's GIL depending on task type and cluster configuration. In all cases, the major limiting factor was data transfer. While either engine is suitable for neuroimaging pipelines, more effort needs to be placed in reducing data transfer time.

Original languageEnglish
Title of host publicationProceedings of WORKS 2019
Subtitle of host publication14th Workshop on Workflows in Support of Large-Scale Science - Held in conjunction with SC 2019: The International Conference for High Performance Computing, Networking, Storage and Analysis
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages40-49
Number of pages10
ISBN (Electronic)9781728159973
DOIs
Publication statusPublished - Nov 2019
Externally publishedYes
Event14th IEEE/ACM Workshop on Workflows in Support of Large-Scale Science, WORKS 2019 - Denver, United States
Duration: 17 Nov 2019 → …

Publication series

NameProceedings of WORKS 2019: 14th Workshop on Workflows in Support of Large-Scale Science - Held in conjunction with SC 2019: The International Conference for High Performance Computing, Networking, Storage and Analysis

Conference

Conference14th IEEE/ACM Workshop on Workflows in Support of Large-Scale Science, WORKS 2019
Country/TerritoryUnited States
CityDenver
Period17/11/19 → …

Keywords

  • Apache Spark
  • Dask
  • Neuroimaging
  • Performance

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Information Systems
  • Information Systems and Management

Fingerprint

Dive into the research topics of 'A performance comparison of dask and apache spark for data-intensive neuroimaging pipelines'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this