Dataflow

Unified stream and batch data processing that's serverless, fast, and cost-effective.

Try Dataflow free
  • action/check_circle_24px Created with Sketch.

    Fully managed data processing service

  • action/check_circle_24px Created with Sketch.

    Automated provisioning and management of processing resources

  • action/check_circle_24px Created with Sketch.

    Horizontal autoscaling of worker resources to maximize resource utilization

  • action/check_circle_24px Created with Sketch.

    OSS community-driven innovation with Apache Beam SDK

  • action/check_circle_24px Created with Sketch.

    Reliable and consistent exactly-once processing

Benefits

Streaming data analytics with speed

Dataflow enables fast, simplified streaming data pipeline development with lower data latency.

Simplify operations and management

Allow teams to focus on programming instead of managing server clusters as Dataflow’s serverless approach removes operational overhead from data engineering workloads.

Reduce total cost of ownership

Resource autoscaling paired with cost-optimized batch processing capabilities means Dataflow offers virtually limitless capacity to manage your seasonal and spiky workloads without overspending.

Key features

Key features

Autoscaling of resources and dynamic work rebalancing

Minimize pipeline latency, maximize resource utilization, and reduce processing cost per data record with data-aware resource autoscaling. Data inputs are partitioned automatically and constantly rebalanced to even out worker resource utilization and reduce the effect of “hot keys” on pipeline performance.

Flexible scheduling and pricing for batch processing

For processing with flexibility in job scheduling time, such as overnight jobs, flexible resource scheduling (FlexRS) offers a lower price for batch processing. These flexible jobs are placed into a queue with a guarantee that they will be retrieved for execution within a six-hour window.

Ready-to-use real-time AI patterns

Enabled through ready-to-use patterns, Dataflow’s real-time AI capabilities allow for real-time reactions with near-human intelligence to large torrents of events. Customers can build intelligent solutions ranging from predictive analytics and anomaly detection to real-time personalization and other advanced analytics use cases. 

View all features

Customers

Customers

Dow Jones
Dow Jones brings key historical events datasets to life with Dataflow.
Read the story

Story highlights

  • Synthesized 30+ years of news data to assess business impact

  • Uncovered hidden data relationships and insights

  • Prototype Knowledge Graph delivered with ease in 10 weeks

Partner

What's new

What's new

Sign up for Google Cloud newsletters to receive product updates, event information, special offers, and more.

Documentation

Documentation

Quickstart
Dataflow quickstart using Python

Set up your Google Cloud project and Python development environment, get the Apache Beam SDK, and run and modify the WordCount example on the Dataflow service.

Tutorial
Using Dataflow SQL

Create a SQL query and deploy a Dataflow job to run your query from the Dataflow SQL UI.

Tutorial
Installing the Apache Beam SDK

Install the Apache Beam SDK so that you can run your pipelines on the Dataflow service.

Tutorial
Machine learning with Apache Beam and TensorFlow

Preprocess, train, and make predictions on a molecular energy machine learning model, using Apache Beam, Dataflow, and TensorFlow.

Tutorial
Qwiklab: Processing Data with Google Cloud Dataflow

Learn how to process a real-time, text-based dataset using Python and Dataflow, then store it in BigQuery.

Google Cloud Basics
Dataflow resources

Find information on pricing, resource quotas, FAQs, and more.

Tutorial
Explore what you can build on Google Cloud

Find Google Cloud technical resource guides pertaining to Dataflow.

Use cases

Use cases

Use case
Stream analytics

Google’s stream analytics makes data more organized, useful, and accessible from the instant it’s generated. Built on Dataflow along with Pub/Sub and BigQuery, our streaming solution provisions the resources you need to ingest, process, and analyze fluctuating volumes of real-time data for real-time business insights. This abstracted provisioning reduces complexity and makes stream analytics accessible to both data analysts and data engineers.

Dataflow stream analytics diagram
Use case
Real-time AI

Dataflow brings streaming events to Google Cloud’s AI Platform and TensorFlow Extended (TFX) to enable predictive analytics, fraud detection, real-time personalization, and other advanced analytics use cases. TFX uses Dataflow and Apache Beam as the distributed data processing engine to enable several aspects of the ML life cycle, all supported with CI/CD for ML through Kubeflow pipelines.

Use case
Sensor and log data processing

Unlock business insights from your global device network with an intelligent IoT platform.

All features

All features

Streaming Engine Streaming Engine separates compute from state storage and moves parts of pipeline execution out of the worker VMs and into the Dataflow service back end, significantly improving autoscaling and data latency.
Autoscaling Autoscaling lets the Dataflow service automatically choose the appropriate number of worker instances required to run your job. The Dataflow service may also dynamically reallocate more workers or fewer workers during runtime to account for the characteristics of your job.
Dataflow Shuffle Service-based Dataflow Shuffle moves the shuffle operation, used for grouping and joining data, out of the worker VMs and into the Dataflow service back end for batch pipelines. Batch pipelines scale seamlessly, without any tuning required, into hundreds of terabytes.
Dataflow SQL Dataflow SQL lets you use your SQL skills to develop streaming Dataflow pipelines right from the BigQuery web UI. You can join streaming data from Pub/Sub with files in Cloud Storage or tables in BigQuery, write results into BigQuery, and build real-time dashboards using Google Sheets or other BI tools.
Flexible Resource Scheduling (FlexRS) Dataflow FlexRS reduces batch processing costs by using advanced scheduling techniques, the Dataflow Shuffle service, and a combination of preemptible virtual machine (VM) instances and regular VMs. 
Dataflow templates Dataflow templates allow you to easily share your pipelines with team members and across your organization or take advantage of many Google-provided templates to implement simple but useful data processing tasks. With Flex Templates, you can create a template out of any Dataflow pipeline.
Notebooks integration Iteratively build pipelines from the ground up with AI Platform Notebooks and deploy with the Dataflow runner. Author Apache Beam pipelines step by step by inspecting pipeline graphs in a read-eval-print-loop (REPL) workflow. Available through Google’s AI Platform, Notebooks allows you to write pipelines in an intuitive environment with the latest data science and machine learning frameworks.
Inline monitoring Dataflow inline monitoring lets you directly access job metrics to help with troubleshooting batch and streaming pipelines. You can access monitoring charts at both the step and worker level visibility and set alerts for conditions such as stale data and high system latency.
Customer-managed encryption keys You can create a batch or streaming pipeline that is protected with a customer-managed encryption key (CMEK) or access CMEK-protected data in sources and sinks.
Dataflow VPC Service Controls Dataflow’s integration with VPC Service Controls provides additional security for your data processing environment by improving your ability to mitigate the risk of data exfiltration.
Private IPs Turning off public IPs allows you to better secure your data processing infrastructure. By not using public IP addresses for your Dataflow workers, you also lower the number of public IP addresses you consume against your Google Cloud project quota.

Pricing

Pricing

Dataflow jobs are billed per second, based on the actual use of Dataflow batch or streaming workers. Additional resources, such as Cloud Storage or Pub/Sub, are each billed per that service’s pricing.

Partners

Partners

Google Cloud partners have developed integrations with Dataflow to quickly and easily enable powerful data processing tasks of any size.