[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3183713.3190664acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Structured Streaming: A Declarative API for Real-Time Applications in Apache Spark

Published: 27 May 2018 Publication History

Abstract

With the ubiquity of real-time data, organizations need streaming systems that are scalable, easy to use, and easy to integrate into business applications. Structured Streaming is a new high-level streaming API in Apache Spark based on our experience with Spark Streaming. Structured Streaming differs from other recent streaming APIs, such as Google Dataflow, in two main ways. First, it is a purely declarative API based on automatically incrementalizing a static relational query (expressed using SQL or DataFrames), in contrast to APIs that ask the user to build a DAG of physical operators. Second, Structured Streaming aims to support end-to-end real-time applications that integrate streaming with batch and interactive analysis. We found that this integration was often a key challenge in practice. Structured Streaming achieves high performance via Spark SQL's code generation engine and can outperform Apache Flink by up to 2x and Apache Kafka Streams by 90x. It also offers rich operational features such as rollbacks, code updates, and mixed streaming/batch execution. We describe the system's design and use cases from several hundred production deployments on Databricks, the largest of which process over 1 PB of data per month.

References

[1]
Daniel J. Abadi, Yanif Ahmad, Magdalena Balazinska, Mitch Cherniack, Jeong hyon Hwang, Wolfgang Lindner, Anurag S. Maskey, Er Rasin, Esther Ryvkina, Nesime Tatbul, Ying Xing, and Stan Zdonik. 2005. The design of the borealis stream processing engine In CIDR. 277--289.
[2]
Tyler Akidau, Robert Bradshaw, Craig Chambers, Slava Chernyak, Rafael J. Fernández-Moctezuma, Reuven Lax, Sam McVeety, Daniel Mills, Frances Perry, Eric Schmidt, and Sam Whittle. 2015. The Dataflow Model: A Practical Approach to Balancing Correctness, Latency, and Cost in Massive-scale, Unbounded, Out-of-order Data Processing. Proc. VLDB Endow., Vol. 8, 12 (Aug. 2015), 1792--1803. /10.1145/223784.223848

Cited By

View all
  • (2025)Data Lakehouse: A survey and experimental studyInformation Systems10.1016/j.is.2024.102460127(102460)Online publication date: Jan-2025
  • (2024)An End-to-End Deep Learning Framework for Fault Detection in Marine MachinerySensors10.3390/s2416531024:16(5310)Online publication date: 16-Aug-2024
  • (2024)An Adaptive Scalable Data Pipeline for Multiclass Attack Classification in Large-Scale IoT NetworksBig Data Mining and Analytics10.26599/BDMA.2023.90200277:2(500-511)Online publication date: Jun-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMOD '18: Proceedings of the 2018 International Conference on Management of Data
May 2018
1874 pages
ISBN:9781450347037
DOI:10.1145/3183713
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 27 May 2018

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. apache spark
  2. programming models
  3. stream processing

Qualifiers

  • Research-article

Conference

SIGMOD/PODS '18
Sponsor:

Acceptance Rates

SIGMOD '18 Paper Acceptance Rate 90 of 461 submissions, 20%;
Overall Acceptance Rate 785 of 4,003 submissions, 20%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)271
  • Downloads (Last 6 weeks)16
Reflects downloads up to 10 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2025)Data Lakehouse: A survey and experimental studyInformation Systems10.1016/j.is.2024.102460127(102460)Online publication date: Jan-2025
  • (2024)An End-to-End Deep Learning Framework for Fault Detection in Marine MachinerySensors10.3390/s2416531024:16(5310)Online publication date: 16-Aug-2024
  • (2024)An Adaptive Scalable Data Pipeline for Multiclass Attack Classification in Large-Scale IoT NetworksBig Data Mining and Analytics10.26599/BDMA.2023.90200277:2(500-511)Online publication date: Jun-2024
  • (2024)"Back to the Byte": Towards Byte-oriented Semantics for Streaming StorageProceedings of the 25th International Middleware Conference Industrial Track10.1145/3700824.3701099(43-49)Online publication date: 2-Dec-2024
  • (2024)Fault Tolerance Placement in the Internet of ThingsProceedings of the ACM on Management of Data10.1145/36549412:3(1-29)Online publication date: 30-May-2024
  • (2024)Reactive Dataflow for Inflight Error Handling in ML WorkflowsProceedings of the Eighth Workshop on Data Management for End-to-End Machine Learning10.1145/3650203.3663333(51-61)Online publication date: 9-Jun-2024
  • (2024)ALTOProceedings of the 4th Workshop on Machine Learning and Systems10.1145/3642970.3655844(117-125)Online publication date: 22-Apr-2024
  • (2024)DPHGNN: A Dual Perspective Hypergraph Neural NetworksProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining10.1145/3637528.3672047(2548-2559)Online publication date: 25-Aug-2024
  • (2024)ShuffleBench: A Benchmark for Large-Scale Data Shuffling Operations with Distributed Stream Processing FrameworksProceedings of the 15th ACM/SPEC International Conference on Performance Engineering10.1145/3629526.3645036(2-13)Online publication date: 7-May-2024
  • (2024)A Comprehensive Benchmarking Analysis of Fault Recovery in Stream Processing FrameworksProceedings of the 18th ACM International Conference on Distributed and Event-based Systems10.1145/3629104.3666040(171-182)Online publication date: 24-Jun-2024
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media