Pebellslearn by building
0%
RoadmapsMatrixCoursesSandboxSign in
The Data Engineering Lifecycle  ›  Lesson

The Lifecycle at a Glance

Data Engineering Lifecycle 12 minData is generated, ingested, transformed and served, with storage underneath every stage and concerns such as security and quality running through all of them.

The Lifecycle at a Glance

A PedalCity ride lasts twenty minutes, but its data has a much longer life. It is created by the app, copied, stored, cleaned, joined, summed and finally shown on a dashboard. When a number on that dashboard looks wrong, you need a map of that journey to know where to look. The data engineering lifecycle is that map.

The rule

Generate → ingest → transform → serve, with storage underneath every step.

The four stages happen in order:

  1. Generation: a source system creates the data. A rider docks a bike and the app writes a row to its rides table.
  2. Ingestion: the data is moved from the source into your platform. A nightly job copies yesterday's new rides into cloud storage.
  3. Transformation: the data is cleaned and reshaped. Cancelled rides are dropped, UTC times become local times, and station names are attached.
  4. Serving: the data reaches the people and programs that use it. The ops dashboard, the finance team and the forecast model all read the result.

Storage is not a fifth step at the end. It sits under all of them: the source stores its own data, ingested files are stored in raw form, and transformed tables are stored again for serving. Choosing how and where to store things is a decision you make at every stage.

Some concerns run beneath the whole lifecycle too, like currents under a river: security (who may see rider emails), data quality (are the counts right), orchestration (what runs when) and cost. They are not stages. They are checks you apply at every stage.

The shortcut

Place any task by asking: "Which stage does this touch?" Once you know the stage, you know what can go wrong there. Generation breaks through source changes. Ingestion breaks through missing or duplicated copies. Transformation breaks through wrong logic. Serving breaks through stale or misunderstood tables.

One ride's journeyStep 1 of 4
  1. Generation

    At 08:14 rider 5521 docks bike 903 at station 17. The app updates the ride row with an end time and a fare.

When the dashboard shows zero rides for station 17, walk the stages backwards. Did the source record rides, did the copy arrive, did a filter remove them, or is the dashboard reading an old table?

Drills

Answer fast — trust the rule.

quick drill

A rider docks a bike and the app writes the ride's end time to its database. Which stage is this?

quick drill

A nightly job copies new rows from the app database into cloud storage. Which stage?

quick drill

Converting timestamps to local time and attaching station names happens in which stage?

quick drill

Why does storage sit underneath the lifecycle rather than being one step?

Remember

  • Generate → ingest → transform → serve, with storage under every step.
  • Security, quality, orchestration and cost apply to every stage.
  • Debug a wrong number by walking the stages backwards.

Practice — level up

0/1 solved

Write your answer, then compare it with a rubric and a model answer.

ExplainWalk the stages backwards

The ops dashboard shows zero rides yesterday for station 17, but riders were definitely there. Explain how you would use the lifecycle stages to find the problem, naming what you would check at each stage.