Meta-dataflows: efficient exploratory dataflow jobs
File(s)mod251-castro-fernandezA-hm.pdf (2.81 MB)
Accepted version
Author(s)
Castro Fernandez, Raul
Culhane, William
Watcharapichat, Pijika
Weidlich, Matthias
Pietzuch, PR
Type
Conference Paper
Abstract
Distributed dataflow systems such as Apache Spark and Apache
Flink are used to derive new insights from large datasets. While they
efficiently execute
concrete
data processing workflows, expressed
as dataflow graphs, they lack generic support for
exploratory work-
flows
: if a user is uncertain about the correct processing pipeline,
e.g. in terms of data cleaning strategy or choice of model parame-
ters, they must repeatedly submit modified jobs to the system. This,
however, misses out on optimisation opportunities for exploratory
workflows, both in terms of scheduling and memory allocation.
We describe
meta-dataflows
(MDFs), a new model to effectively
express exploratory workflows and efficiently execute them on
compute clusters. With MDFs, users specify a
family
of dataflows
using two primitives: (a) an
explore
operator automatically con-
siders choices in a dataflow; and (b) a
choose
operator assesses the
result quality of explored dataflow branches and selects a subset of
the results. We propose optimisations to execute MDFs: a system
can (i) avoid redundant computation when exploring branches by
reusing intermediate results and discarding results from underper-
forming branches; and (ii) consider future data access patterns in
the MDF when allocating cluster memory. Our evaluation shows
that MDFs improve the runtime of exploratory workflows by up to
90% compared to sequential execution.
Flink are used to derive new insights from large datasets. While they
efficiently execute
concrete
data processing workflows, expressed
as dataflow graphs, they lack generic support for
exploratory work-
flows
: if a user is uncertain about the correct processing pipeline,
e.g. in terms of data cleaning strategy or choice of model parame-
ters, they must repeatedly submit modified jobs to the system. This,
however, misses out on optimisation opportunities for exploratory
workflows, both in terms of scheduling and memory allocation.
We describe
meta-dataflows
(MDFs), a new model to effectively
express exploratory workflows and efficiently execute them on
compute clusters. With MDFs, users specify a
family
of dataflows
using two primitives: (a) an
explore
operator automatically con-
siders choices in a dataflow; and (b) a
choose
operator assesses the
result quality of explored dataflow branches and selects a subset of
the results. We propose optimisations to execute MDFs: a system
can (i) avoid redundant computation when exploring branches by
reusing intermediate results and discarding results from underper-
forming branches; and (ii) consider future data access patterns in
the MDF when allocating cluster memory. Our evaluation shows
that MDFs improve the runtime of exploratory workflows by up to
90% compared to sequential execution.
Date Acceptance
2018-04-01
Citation
Proceedings of the ACM SIGMOD International Conference on Management of Data
ISSN
0730-8078
Publisher
Association for Computing Machinery (ACM)
Journal / Book Title
Proceedings of the ACM SIGMOD International Conference on Management of Data
Copyright Statement
©2018 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
Sponsor
BP International Limited (0946)
Grant Number
GPTL/BPX/MB/NB/92266
Source
ACM Conference on Management of Data (SIGMOD)
Subjects
Science & Technology
Technology
Computer Science, Information Systems
Computer Science
Publication Status
Accepted
Start Date
2018-06-10
Finish Date
2018-06-15
Coverage Spatial
Houston, TX, USA