Find the stage where work starts to accumulate
The dashboard is 20 minutes behind. The intake queue is growing, and the sink commits everything it receives within one second. Would doubling sink capacity fix the backlog?
Find the stage where work starts to accumulate
Compare rates at consecutive stages over the same interval. A consumer seeing 25 messages per second cannot clear a queue receiving 30 per second. Increasing a later stage that already keeps up will leave the first bottleneck unchanged. Validate the fix by watching age as well as count.
In the recording
Monitor Dataflow freshness and backlog, the age of the oldest unacknowledged Pub/Sub message and failed Airflow tasks.
Work through the decision
The dashboard is 20 minutes behind. The intake queue is growing, and the sink commits everything it receives within one second. Would doubling sink capacity fix the backlog?
Check your reasoning
Compare event age, arrival rate, processing rate and sink latency at adjacent stages. If the transform consumes fewer messages than arrive, inspect key skew, resource limits and errors there. Check the effect on the oldest outstanding message after a change.
Decisions and tradeoffs
- Oldest unacknowledged message age
- Observe how long the oldest outstanding delivery has waited. Combine age with backlog and processing rate.
- Stage throughput
- Compare input and output rates at each boundary to locate where a queue grows.
- Quota or billing error
- Inspect structured failure details when a service rejects work for a stated resource limit or billing state.
- Slot usage and queue metrics
- Use BigQuery job and reservation telemetry to identify saturated capacity or jobs waiting to start.
Practice the guide skills
- Follow a single run through logs, Dataflow metrics and Airflow status.
- Alert before forecast usage reaches a quota.
- Read one failing job’s error reason and billing context.
- Compare running queries and reservations to a normal period.
Official objectives for this lesson
Related lesson · Schedule work, trace a growing backlog and recover from retries
Find the stage where work starts to accumulate quiz
Answer 3 questions. Check each answer for an explanation.