AlgoViz

Dataflow engines

medium 35 min

A dataflow engine runs a whole program as one graph of operators.

Where it shows up

The same pattern appears across everyday software.

  • Nightly sales tables

    Read the day's orders, join shops and products, sum by city, and write one folder for that date. Running it again replaces that folder only.

  • Features for a model

    Thirty-day totals per user over billions of events, with one shuffle by user.

  • Format conversion

    JSON logs become Parquet, so that later jobs read only the columns they need.

  • Fraud signals

    A Flink job keeps state for each card and answers within a second of the payment.

  • A/B test analysis

    Join exposures with outcomes, group by variant, and cache the joined data for twenty metrics.

  • Backfill

    The same program runs over two years of data, one date per run, with a limit on how many run at once.