Concepts / Understanding Data Pipelines and Failure Modes

Understanding Data Pipelines and Failure Modes

Production data should be examined early in a project, not late.

  • Programming

Testing a Prediction About Late Discovery

When an AI system is deployed into a customer's environment, the production data is the material it must eventually handle. Teams often treat getting access to that data as a task to do later, once the system has been built and tested on something easier. This article argues against that habit. The guidance is to look at production data on day one of the project rather than near the end, because when you look at it determines what kind of problem you will have to deal with.

What do you think happens?

Suppose the team only discovers its access problems late in the project, after building and testing. What do you think is the likely consequence?

  • Validation simply takes a little longer than planned

  • The access problems disappear because the system is already built

  • The delivery can fail outright

Reveal answer
Answer:

The delivery can fail outright.

The source compares two outcomes. Early discovery leads to a validation that takes longer than planned, while late discovery can lead to a delivery that fails outright. The access problems are not removed by waiting; they only arrive at a point where they are more expensive to resolve.

The Access Fight Happens Either Way

Definition

Early production data access is the practice of examining the real production data at the start of a project rather than near its end, so that the data's characteristics shape the work from the beginning.

The central idea is that the fight to get production data into validation is one that has to happen regardless of when it is started. Negotiation, approvals, and data-handling agreements are needed to see production data, and they are required for validation whether the team begins them on day one or in the final weeks. Only the timing is a choice. The source's point is that a team cannot avoid this work by waiting. Waiting only moves the work to a later point in the project where it costs more to resolve.

Tracing the Two Timelines

Follow the same access work down two different paths. In both paths the access fight occurs and the effort is roughly the same. The difference is where it sits in the project and what it does to the outcome. Trace each path from the access fight, through validation, to delivery.

Access fightStarts on day oneAccess fightStarts near the endValidationTakes longer than plannedValidationRuns against the accessproblemDeliveryCompletes with a delayedvalidationDeliveryCan fail outrightresolved in timedelayedresolved too latemay not succeed
How does the same access fight play out when it starts early compared with when it starts late in the project?

On the early path, the access fight still consumes effort, and the consequence is a validation that takes longer than planned. On the late path, the same fight arrives after the system has been built and tested, and the consequence can be a delivery that fails outright. The effort is similar. What changes is the cost of the setback.

Why the Timing Changes the Problem

The source states that when you look at production data determines what kind of problem you will have to deal with. Looking early means the team meets the real data while there is still room to adjust its validation plan. Looking late means the team meets the real data after the system has been shaped by sample or staging data, so any gap between the two surfaces at the point of delivery.

Key point

Only the timing of the access fight is a choice. Its existence is not. Starting early converts a potential delivery failure into a schedule cost that the team can plan for.

Background Knowledge for Customer Conversations

Getting production data early is not only about validation. The source says an engineer on a deployment needs a working understanding of the underlying data systems, because the customer's data team will ask how the AI system behaves under real operating conditions. Without that background, the engineer cannot answer those questions credibly. The source names three areas to understand.

  • Storage engines
  • Replication
  • Batch versus stream processing

These are the topics that connect the idea of a data pipeline to the questions a customer's data team is likely to raise. The source does not go into further detail on each area, so treat this list as a map of what to study next rather than a full explanation of each one.

Mistakes Teams Make About Access Timing

  • Common mistake

    Assuming access can be avoided by waiting

    What it looks like

    A team plans to request production data only after its model passes all tests on staging data.

    Why it fails

    The approvals and data-handling agreements are required for validation regardless of timing. Waiting moves them later rather than removing them.

    Do this instead

    Start the access work early, since it is needed in every version of the plan.

  • Common mistake

    Treating the choice as whether to do the access work at all

    Why it fails

    The source says the access fight is required. The only real choice is when it happens.

    Do this instead

    Decide the timing, and plan the early start as a deliberate step.

  • Common mistake

    Answering customer questions about system behavior without background knowledge

    Why it fails

    The source says an engineer cannot answer the customer's data team credibly without understanding the underlying data systems.

    Do this instead

    Build working knowledge of storage engines, replication, and batch versus stream processing before those conversations.

Planning the First Steps of a Deployment

Worked example

Applying the early-access principle on a new deployment

A team is starting a deployment of an AI system into a customer's environment. Using the early-access principle, plan the first steps so that production data is examined on day one rather than near the end.

  1. 1
    Identify the access work

    Recognize that negotiation, approvals, and data-handling agreements are needed to see production data. These are required for validation no matter when they begin.

  2. 2
    Move the access work to the start

    Because only the timing is a choice, schedule the access work as one of the first steps of the project rather than a task for the end.

  3. 3
    Plan for a longer validation

    Early discovery leads to a validation that takes longer than planned. Build that extra time into the schedule so it is expected rather than a surprise.

  4. 4
    Prepare for the customer's questions

    Build working knowledge of storage engines, replication, and batch versus stream processing so the team can discuss system behavior credibly with the customer's data team.

Result

The first steps of the deployment put production data access at the start, budget for a longer validation, and prepare the team to answer the customer's data questions. This avoids the late path, where the same access problems can cause a delivery to fail outright.

Practice: Reordering a Project Plan

MEDIUM

A project plan lists these tasks in this order: build the system, test it on staging data, request production data access, validate, deliver. Rewrite the order using the early-access principle, and explain in one or two sentences what changes in the likely outcome.

Hints
  • Ask which task the source says must happen regardless of timing.
  • Consider what the source says happens when access work starts late compared with early.

Checking the Early-Access Reasoning

  1. 1
    Production data should be examined early in a project, not late.
  2. 2
    The access fight is required for validation regardless of timing, so only its timing is a choice.
  3. 3
    Early discovery leads to a delayed validation, while late discovery risks a failed delivery.
  4. 4
    Engineers need background in storage engines, replication, and batch versus stream processing to discuss system behavior credibly with a customer's data team.

Key Takeaways

  • Production data should be examined early in a project, not late, because the access work is needed for validation no matter when it starts.
  • Only the timing of the access fight is a choice. Waiting does not remove it, it only moves it to a point where it is more expensive to resolve.
  • Early access leads to a validation that takes longer than planned, while late access risks a delivery that fails outright.
  • Engineers need background in storage engines, replication, and batch versus stream processing to discuss system behavior credibly with a customer's data team.