AlgoViz

Apache Spark Streaming

medium 28 min

Spark treats a stream as a table that keeps growing and runs your query again and again on the new rows, in small batches.

Where it shows up

The same pattern appears across everyday software.

  • Security platform

    The Structured Streaming paper (2018) describes a large customer whose more than 100 analysts use network logs processed by streaming jobs, with alerts from the same queries they tried on old data.

  • Live video quality

    The same paper describes a media company that aggregates quality measurements from players, so that engineers can find a failing provider or server during a live event.

  • Online game latency

    A gaming company in the paper joins latency logs with a table of networks and alerts when one network performs badly.

  • Databricks

    Monitors its own cloud service with Structured Streaming and reports that the pipeline became much easier to operate than earlier versions.

  • Conviva

    The DStreams paper (2013) tells how video distribution monitoring was moved to discretized streams, sharing code between live and historical analysis.

  • Mobile Millennium

    A research project in the DStreams paper that estimated city traffic from GPS data of taxis and phones.

  • Kelkoo

    Listed by the Spark project: Spark Core, SQL and Streaming for product recommendations, BI and analytics.