At the end of stage 2, MoviCiudad has decided how its data arrives, in which zones it is stored, with what model and under which privacy rules. But these are empty tables: nothing fills them or queries them. In this stage you design what brings the platform to life: how the data is transformed, at what cadence, who coordinates the processes, which metrics are published and how each answer reaches whoever makes the decision. It corresponds to Modules 4, 5 and 6 of the course.

It is also the stage in which the architecture gets a name and an overall shape. The most interesting question is the one DataCorp could answer quickly and you cannot: with telemetry that arrives nonstop, is continuous stream processing needed? The answer will come, as always, from the freshness requirements and not from the nature of the data.

Objectives and deliverables of stage 3

Deliverable Minimum content Lessons applied
Processing mode matrix Mode and frequency per use case, with the freshness calculation 04-03
Approach and tools ETL or ELT; a tool per type of task, proportionate to the volume 04-01, 04-02, 04-04
Orchestration design List of DAGs with schedule, tasks and quality checks 04-05, 04-06
A transformation model The SQL of the main fact table 04-02
Metrics as code Definition of the official metrics and of their certified tables 05-03
Analysis and consumption Tool, access and official dashboards 05-02, 05-04
Use case sheets Three or four cases described end to end 05-05
Overall architecture Reasoned type of architecture, target diagram and ADRs Module 6

Step 1: transformation approach and tools

Decide first where the transformation happens. Review the comparison of ETL versus ELT in lesson 04-02 and ask yourself which parts of your case fit "load raw and transform with SQL in the destination" and which do not. At least two deserve some thought:

  • The pseudonymization is done before loading (you decided that in ADR-002): it is a prior transformation, small and deliberate. It is the EtLT pattern you saw in 04-02.
  • The zone assignment for each coordinate is a spatial operation. Does your engine's SQL handle it well, or is it better done in Python before writing to the cleansed zone?

Then choose tools by applying the rule from lesson 04-04: the simplest one that does the job. Calculate the size of what you process in each run before thinking about distributed engines: a five-minute micro-batch of telemetry is a few thousand messages.

Step 2: batch, micro-batches or continuous streaming

Build the matrix from lesson 04-03: for each use case, the freshness required (RQ-04) and the simplest mode that meets it. For the telemetry, do the full calculation of the worst-case freshness:

maximum freshness = micro-batch interval + arrival delay + processing time

If the result is below the requirement with some margin, the micro-batch is enough. Before proposing continuous streaming, answer three questions in writing: which decision changes if the data is 10 seconds old instead of 10 minutes? Is that decision analytical or operational? Who will operate a streaming engine in a team of three with nobody on call (RQ-13)?

Step 3: orchestration, quality checks and performance

List the DAGs as in lesson 04-05: name, schedule, tasks in order and estimated duration. Place in them the three quality checkpoints (on ingestion, between raw and cleansed, before publishing) with the DQ rules from stage 2. Three matters specific to MoviCiudad:

  • The nightly window. The commitment is 08:00 and nobody is on call in the small hours: the retries must be automatic and the margin large enough for someone to fix things when they arrive.
  • Small files. A micro-batch every 5 minutes writes 288 files a day per table. Remember compaction (lessons 02-06 and 06-04).
  • Privacy deletions. The 30-day retention does not enforce itself: it needs a scheduled process and a verification. If you use tables with snapshots, a deleted piece of data still exists until the snapshot expires.

Step 4: metrics, aggregate tables and analysis tool

The three trip definitions from stage 1 are the core of the semantic layer. Apply lesson 05-03: declare measures and metrics as code, state their additivity and decide which certified tables they are materialized in. Watch out for ratio metrics (average revenue, fleet turnover) and those based on snapshots (availability), which cannot be added up.

For consumption, decide on the tool and the access mode (lesson 05-02). This domain adds a visualization requirement: maps by zone. And a new kind of consumer: shift supervisors and workshop teams do not analyze; they look up a list or a map several times an hour. Define the official dashboards with their owner, as in lesson 05-04.

Step 5: end-to-end use cases

Choose three or four cases and fill in for each one the sheet from lesson 05-05 (governance/use_cases/UC-XX.yaml): question, decision, metrics, sources, consumption tables, freshness, processing mode, consumers, personal data, success criterion and known limits. Walking through the whole case is the best test of the design: if at some point you do not know which table a piece of data comes from, you have found a gap.

Step 6: the overall architecture

With all of the above, give a name to what you have designed. Answer these questions from Module 6 with arguments:

Question What to consider
Data lake, data warehouse or lakehouse? Volume (about 100 GB), variety, need for row-level deletes, team size, open formats
Lambda, Kappa or neither? Whether there really is a speed layer with its own logic; whether the event log is the source of truth
Mesh, fabric or centralized platform? Three people
Which query engine? Type of service before product; pay-as-you-go versus fixed capacity

Finish with the complete target diagram (to-be), comparable with the one for the current situation in lesson 08-01.

Stage 3 templates

Mode matrix and list of DAGs:

Use case Freshness required Mode Frequency Worst-case freshness
DAG Schedule Tasks (in order) Quality checks Duration

Metric as code (simplified syntax from lesson 05-03):

metrics:
  - name: <technical_name>
    label: <name for the user>
    type: <simple | ratio>
    measure: <measure>           # or numerator / denominator if it is a ratio
    additive: <yes | no | only across zones>
    owner: <person>
    certified_table: <consumption.table>

Starting target diagram, to be completed:

flowchart LR
    F[Sources] --> I["Ingestion: which patterns?"]
    I --> B[Raw] --> D[Cleansed] --> C[Consumption]
    C --> S["Serving: which tools?"]
    T["Cross-cutting: orchestration, quality, governance, security, monitoring?"] -.-> D

Common Mistakes and Tips

  • "Telemetry is a stream, so streaming is needed." The processing mode is decided by the freshness that the decision requires, not by how the data is produced.
  • Confusing the analytical alert with the operational control. Telling the workshops which batteries to swap can tolerate minutes; preventing someone from renting a vehicle with no battery cannot, and that is why the backend does it.
  • Calculating the validity of a trip in every query or in every dashboard. The two figures would reappear. It is calculated once, in the fact_trips model.
  • Taking historical trips for demand. In a zone with no vehicles there are no trips, and that does not mean nobody wanted one: observed demand is censored by supply. Note it down as a limit.
  • Letting the municipal report send itself. Automate the calculation; sending something to a regulator is best approved by a person.
  • Piling up small files without compacting them and forgetting that deleting is not deleting as long as an earlier snapshot exists.
  • Drawing the target diagram without the cross-cutting layers. That is where the starting situation was empty.
  • Tip: if you are torn between two processing modes, choose the simpler one and write in the ADR which requirement would make you change.

Exercises

Task 3.1: Processing

Draw up the mode matrix with the freshness calculation for the telemetry, choose the approach and tools, and design the orchestration: list of DAGs and a code outline of the telemetry DAG.

Task 3.2: Analysis

Write the SQL model of fact_trips, define the official metrics as code, choose the analysis tool and the official dashboards, and complete the sheets of four use cases with at least two analytical queries.

Task 3.3: Overall architecture

Reason out the type of architecture, draw the complete target diagram and document the decisions in one or more ADRs.

Solutions

Task 3.1

Use case Freshness required Mode Frequency Worst-case freshness
UC-01 Reconciliation D+1, 08:00 Daily batch 02:30 Ready at about 03:05
UC-02 Redistribution 10 min (status); D+1 (historical demand) Micro-batch + daily batch Every 5 min; snapshot every 15 min 9 min
UC-03 Low battery 10 min Micro-batch Every 5 min 9 min
UC-04 Municipal report Monthly, the 5th Monthly batch on daily tables The 2nd, 06:00 Three days of margin
UC-05 Reliability D+1 Daily batch 03:00 —
UC-06 Forecast D+1 Daily batch; weather every hour 05:00 —

Freshness of the telemetry: 5 min of interval + 2 min of arrival delay (the p95 in the contract) + 2 min of processing = 9 minutes, below the 10 in RQ-04. Each micro-batch handles about 6,900 messages (1,984,000 / 288), about 21,000 at peak hours: less than 10 MB. There is no continuous streaming. No decision in the brief improves with data that is seconds old, and the only one that would need it (the battery block) is operational and out of scope. Valid alternative: 2-minute micro-batches if Operations asked for 5 minutes of freshness; it still does not require a streaming engine.

Approach and tools. ELT with a small prior transformation (EtLT): the extractor minimizes and pseudonymizes; everything else is transformed in the destination with versioned and tested SQL (dbt), whose tests implement the DQ rules. The exception is the telemetry: a Python process with DuckDB and its spatial extension deduplicates, validates, assigns zone and cell, and writes to the cleansed zone, because point in polygon is simpler there than in the engine's SQL. Managed, Kafka-compatible messaging, with a bridge from MQTT. No Spark and no streaming engines. Everything in the repository moviciudad-data (ingestion/, transformations/, orchestration/, metrics/, governance/).

DAG Schedule Tasks (in order) Checks Duration
telemetry_micro_batches Every 5 min read_topic → deduplicate_validate → assign_zone → append_cleansed → update_fleet_status → evaluate_battery_alerts DQ-03 to DQ-06 < 2 min
availability_15min Every 15 min snapshot_zones → refresh_redistribution_priority DQ-07 < 1 min
nightly_load_trips 02:30 extract_* → validate_ingestion → transform_cleansed → tests_cleansed → publish_consumption → reconcile_trips_charges → refresh_aggregates DQ-01, 02, 08, 09, 10 35 min
nightly_load_workshops_support 03:00 extract_work_orders, extract_tickets → transform → publish Uniqueness, volume 15 min
open_data Every hour; 05:00 extract_weather; extract_holidays_events → refresh_context Freshness 5 min
municipal_report The 2nd, 06:00 generate → check_threshold → freeze_version → notify_review DQ-11 10 min
privacy_expiry 04:30 delete_detail_30_days → anonymize_24_months → verify Zero expired rows 10 min
table_maintenance 23:30 compact → expire_snapshots (older than 7 days) — 15 min

The nightly load finishes at about 03:05; with automatic retries, there is margin until 08:00 with no need for anyone on call (RQ-13). The municipal report generates itself, but Clara Vives sends it after reviewing it. Because of snapshot expiration, the physical deletion of the detail is complete after 37 days at most: the data protection officer has to be told.

# moviciudad-data/orchestration/telemetry_micro_batches.py  (outline)
from datetime import datetime, timedelta
from airflow import DAG
from airflow.operators.bash import BashOperator

STEPS = ["read_topic", "deduplicate_validate", "assign_zone",
         "append_cleansed", "update_fleet_status", "evaluate_battery_alerts"]

with DAG(
    dag_id="telemetry_micro_batches",
    schedule="*/5 * * * *",                  # every 5 minutes
    start_date=datetime(2027, 1, 1),
    catchup=False,                           # do not catch up on old cycles one by one
    max_active_runs=1,                       # never two micro-batches at once
    dagrun_timeout=timedelta(minutes=4),     # if it has not finished in 4 min, it fails and alerts
    default_args={"retries": 2, "retry_delay": timedelta(seconds=30)},
) as dag:
    tasks = [
        BashOperator(
            task_id=step,
            # each step receives the end of the interval: rerunning it gives the same result
            bash_command=f"python -m ingestion.telemetry.{step} --until '{{{{ data_interval_end }}}}'",
        )
        for step in STEPS
    ]
    for upstream, downstream in zip(tasks, tasks[1:]):
        upstream >> downstream               # they run in a chain

max_active_runs=1 and the --until parameter make the micro-batch idempotent: if a cycle fails, the next one picks up from the last committed position in the topic, and the deduplication by message_id prevents double counting.

Task 3.2

-- transformations/models/consumption/fact_trips.sql
{{ config(materialized='incremental', unique_key='trip_id') }}

with trips as (
    select * from {{ ref('trips') }}                     -- cleansed.trips, with zones already assigned
    {% if is_incremental() %}
    where business_date >= current_date - {{ var('reprocess_days', 35) }}   -- covers late refunds
    {% endif %}
),
trip_charges as (                                        -- only what was actually charged for each trip
    select trip_id, sum(amount) as charged_amount
    from {{ ref('charges') }}
    where charge_type = 'trip' and status = 'confirmed'
    group by trip_id
),
classified as (
    select
        t.*,
        coalesce(c.charged_amount, 0) as gross_amount,
        (t.status = 'completed' and t.duration_s >= 60
         and t.distance_m >= 100 and not t.is_service) as is_valid         -- official definition
    from trips t
    left join trip_charges c using (trip_id)
)
select
    k.trip_id,
    cast(to_char(k.business_date, 'YYYYMMDD') as integer) as date_sk,
    k.start_hour,
    coalesce(u.user_sk, 0)    as user_sk,
    coalesce(v.vehicle_sk, 0) as vehicle_sk,
    coalesce(zo.zone_sk, 0)   as origin_zone_sk,         -- 0 = 'Outside any zone'
    coalesce(zd.zone_sk, 0)   as destination_zone_sk,    -- the same dimension, second role
    k.duration_s,
    k.distance_m,
    k.gross_amount,
    k.gross_amount / 1.21 as net_amount,
    k.is_service,
    k.is_valid,
    (k.is_valid and k.gross_amount > 0) as is_charged,
    case
        when k.is_service       then 'service'
        when not k.is_valid     then 'cancelled'
        when k.amount = 0       then 'free'              -- zero fare because of a promotion or compensation
        when k.gross_amount = 0 then 'failed_charge'     -- no confirmed charge
    end as not_charged_reason
from classified k
left join {{ ref('dim_user') }}    u on u.user_pseudo_id = k.user_pseudo_id and u.is_current
left join {{ ref('dim_vehicle') }} v on v.vehicle_id = k.vehicle_id
left join {{ ref('dim_zone') }} zo on zo.zone_id = k.origin_zone_id
     and k.business_date >= zo.valid_from and (zo.valid_to is null or k.business_date < zo.valid_to)
left join {{ ref('dim_zone') }} zd on zd.zone_id = k.destination_zone_id
     and k.business_date >= zd.valid_from and (zd.valid_to is null or k.business_date < zd.valid_to)

The model calculates the validity and the reason for not charging only once: every later figure comes from these columns. The zones are joined by their validity on the date of the trip, which keeps old reports reproducible (RQ-14). The check against October 2026:

not_charged_reason Trips
(null: charged) 1,151,960
cancelled 62,000
service 12,400
free 9,920
failed_charge 3,720
Total (trips started) 1,240,000
# moviciudad-data/metrics/trips.yaml  (simplified syntax)
metrics:
  - {name: trips_started,      type: simple, measure: "count(trip_id)",                         additive: yes}
  - {name: valid_trips,        type: simple, measure: "count(trip_id) filter (is_valid)",       additive: yes}
  - {name: charged_trips,      type: simple, measure: "count(trip_id) filter (is_charged)",     additive: yes}
  - {name: gross_trip_revenue, type: simple, measure: "sum(gross_amount) filter (is_charged)",  additive: yes}
  - {name: net_trip_revenue,   type: simple, measure: "sum(net_amount) filter (is_charged)",    additive: yes}
  - {name: avg_revenue_per_trip, type: ratio, numerator: gross_trip_revenue, denominator: charged_trips, additive: no}
  - {name: fleet_turnover,       type: ratio, numerator: valid_trips, denominator: operational_vehicle_days, additive: no}
  - {name: empty_zone_rate,      type: ratio, numerator: zone_slots_without_vehicles, denominator: zone_slots, additive: no}
  - {name: low_battery_fleet_pct, type: ratio, numerator: low_battery_vehicles, denominator: operational_vehicles, additive: no}
owners: {trips_and_revenue: julian.prieto, fleet_and_availability: beatriz.olmos}
certified_tables: [consumption.daily_trips, consumption.trips_by_zone_hour, consumption.zone_availability_15min]

Values for October 2026: 1,240,000 started, 1,165,600 valid, 1,151,960 charged, €2,188,724.00 gross, €1,808,862.81 net, €1.90 of average revenue and a turnover of 12.5 trips per vehicle per day. Unlike DataCorp's number of orders by category, trip counts are additive: each trip belongs to a single date, city and origin zone. Certified tables: consumption.daily_trips(trip_date, city, vehicle_type, trips_started, valid_trips, charged_trips, gross_revenue, net_revenue) and consumption.trips_by_zone_hour(trip_date, trip_hour, origin_zone_sk, vehicle_type, valid_trips).

Tool and dashboards. A single managed BI tool, with live queries against the consumption zone, maps by zone built from the official GeoJSON and role-based access; the metrics are not defined in it. Five official dashboards: dashboard.reconciliation (Julián Prieto), .fleet_now (Beatriz Olmos; a map refreshed every 5 minutes on current_fleet_status), .batteries (Marc Segura), .territory (Clara Vives) and .reliability (Marc Segura and Lidia Ramos). All of them show when their data was last updated.

Field UC-01 Reconciliation UC-02 Redistribution UC-03 Low battery UC-04 Municipal report
Decision Close the day; chase failed charges Where to take vehicles in the next hour Which batteries to swap and in what order Deliver and defend the report
Metrics Trips started, valid and charged; revenue Available per zone; expected trips; empty_zone_rate low_battery_fleet_pct Valid trips and vehicles deployed per zone and time band
Consumption tables fact_trips, daily_trips current_fleet_status, trips_by_zone_hour, redistribution_priority current_fleet_status, current_low_battery monthly_municipal_report (versioned)
Mode and freshness Daily batch; 08:00 Micro-batch; 9 min Micro-batch; 9 min Monthly batch; the 2nd
Consumers Finance and Operations (6 people) Shift supervisors (12), on a map Workshops (15), in a list by zone Clara Vives; 4 city councils
Personal data Pseudonym; not shown No No No: aggregated with a threshold of 5
Success criterion Unexplained difference: 0 Empty zones at peak hours: from 22% to 12% Fleet with no battery at peak hours: from 9% to 5% Less than 1 working day; zero formal notices
Known limits Late refunds change figures for up to 35 days Demand censored by supply; it does not calculate routes It does not predict depletion, only the status No detail by street
-- UC-02: balance of vehicles per zone against the demand expected in the next hour
WITH demand AS (                        -- average of the last 8 weeks, same day of the week and hour
    SELECT t.origin_zone_sk AS zone_sk, SUM(t.valid_trips) / 8.0 AS expected_trips
    FROM consumption.trips_by_zone_hour t
    JOIN consumption.dim_date d ON d.full_date = t.trip_date
    WHERE t.trip_date >= CURRENT_DATE - 56
      AND d.day_of_week = EXTRACT(ISODOW FROM CURRENT_DATE)
      AND t.trip_hour = EXTRACT(HOUR FROM CURRENT_TIMESTAMP) + 1
    GROUP BY t.origin_zone_sk
),
available_now AS (                      -- vehicles that can be rented right now
    SELECT zone_sk, COUNT(*) AS available
    FROM consumption.current_fleet_status
    WHERE status = 'available' AND battery_pct >= 20
    GROUP BY zone_sk
)
SELECT z.city, z.name AS zone_name,
       COALESCE(a.available, 0)                 AS available,
       ROUND(COALESCE(dm.expected_trips, 0))    AS expected_trips,
       COALESCE(a.available, 0) - ROUND(COALESCE(dm.expected_trips, 0)) AS balance
FROM consumption.dim_zone z
LEFT JOIN available_now a ON a.zone_sk = z.zone_sk
LEFT JOIN demand dm       ON dm.zone_sk = z.zone_sk
WHERE z.is_current AND z.zone_sk <> 0
ORDER BY balance;                       -- first, the zones with the largest shortfall

-- UC-04: trips per zone and 3-hour band, suppressing the cells with fewer than 5 trips
SELECT z.zone_id, FLOOR(f.start_hour / 3) * 3 AS band_start_h,
       CASE WHEN COUNT(*) >= 5 THEN COUNT(*) END AS trips      -- NULL = suppressed value (DQ-11)
FROM consumption.fact_trips f
JOIN consumption.dim_zone z ON z.zone_sk = f.origin_zone_sk
WHERE f.is_valid AND f.date_sk BETWEEN 20261001 AND 20261031 AND z.city = 'Valencia'
GROUP BY z.zone_id, FLOOR(f.start_hour / 3) * 3;

The first query feeds consumption.redistribution_priority; the zones with the most negative balance head the shift supervisor's list (for simplicity, it does not handle the change of day at 23:00). The second one shows the privacy threshold applied in the calculation itself.

Task 3.3

  • Lakehouse. Object storage in three zones, tables in an open format (Apache Iceberg) in cleansed and consumption, and a managed, serverless, pay-as-you-go SQL engine. Reasons: a single copy of the data; the row-level deletes and the snapshot expiration that ADR-002 requires; direct writes from the Python micro-batches; no server to administer. Valid alternative: with about 100 GB, a managed cloud data warehouse as the only store would be just as defensible and somewhat simpler; you lose openness of formats, and writing the micro-batches turns out more expensive. What would be indefensible is a cluster.
  • Neither Lambda nor Kappa. There is no speed layer with duplicated logic: the telemetry has a single path (micro-batches) and the trips another (batch). Nor is it Kappa: the messaging topic retains 72 hours and is not the source of truth, and the main business source is a relational database.
  • Centralized platform, with data product practices (owner, contract, SLOs) for trips, fleet, availability and municipal reports.
flowchart LR
    subgraph Sources
        BE[(Backend replica)]
        IOT[Vehicles → MQTT]
        SAAS["Workshops and tickets, API"]
        OD[Open data]
        GEO[GeoJSON zones]
    end
    subgraph Ingestion
        EXT["Python extractors<br/>minimize and pseudonymize"]
        MSG["Managed messaging<br/>telemetry.vehicles, 72 h"]
    end
    subgraph Lakehouse["Lakehouse (object storage + Iceberg tables)"]
        BR[Raw]
        DEP["Cleansed<br/>location detail: 30 days"]
        CON["Consumption<br/>star, aggregates, current status"]
    end
    BE --> EXT --> BR
    SAAS --> EXT
    OD --> EXT
    IOT --> MSG --> BR
    GEO --> DEP
    BR -->|"micro-batches 5 min: Python + DuckDB"| DEP
    BR -->|"nightly batches: dbt"| DEP
    DEP -->|"dbt + DQ tests"| CON
    CON --> SQL["Serverless SQL engine<br/>load and query groups"]
    SQL --> BI["BI with maps<br/>5 official dashboards"]
    SQL --> AL["Lists and alerts<br/>battery and redistribution"]
    SQL --> INF["Municipal report<br/>reviewed before sending"]
    ORCH["Orchestrator: 8 DAGs"] -.-> Ingestion
    ORCH -.-> Lakehouse
    TR["Governance as code · quality · roles and secrets ·<br/>privacy expiry · monitoring"] -.-> Lakehouse
ADR-005: Batch processing and 5-minute micro-batches, with no continuous streaming

Status: Accepted          Date: 2026-12-09
CONTEXT
The telemetry arrives continuously (23 messages/s on average), but the most
demanding freshness is 10 minutes (RQ-04) and the team is 3 people with
nobody on call (RQ-13). Decisions made in seconds are operational (ADR-001).
DECISION
1. Telemetry: micro-batches every 5 minutes with Python and DuckDB (worst
   case: 9 min).
2. Other sources: daily batches, transformed in the destination with dbt.
3. No continuous streaming engine or distributed cluster is deployed.
ALTERNATIVES CONSIDERED
A. Continuous streaming. Rejected: it does not improve any decision and adds
   a permanent system to operate and about 1,250 EUR a month.
B. 15-minute micro-batches. Rejected: it fails RQ-04.
CONSEQUENCES
Positive: a single way of processing, cheap and rerunnable.
Negative: 288 small files a day per table (requires compaction); freshness
cannot go below about 3 minutes with this design.
Review if: an analytical case appears that requires less than 1 minute, or
the volume exceeds 50 GB a day.

The log is completed by ADR-006 (lakehouse with Iceberg tables and a serverless SQL engine; neither Lambda nor Kappa; centralized platform) and ADR-007 (metrics as code in certified tables and a single BI tool with maps).

Stage 3 rubric (0, 1 or 2 points per criterion; 11 or more out of 16 indicate a solid stage):

Criterion Complete if...
Processing modes Each mode is derived from a freshness and there is a worst-case calculation
Continuous streaming The decision (yes or no) names the requirement that justifies it
Tools They are proportionate to the volume and operable by three people
Orchestration The DAGs include quality, compaction and privacy deletions
SQL model The validity of the trip is calculated in one place only and matches October
Metrics They are defined as code, with additivity and owner
Use cases Each sheet goes from the source to the decision and states its limits
Overall architecture It has a name, reasons, an alternative weighed up and a diagram with cross-cutting layers

Typical mistakes when self-assessing: penalizing yourself for having chosen a warehouse instead of a lakehouse, when the reasoning is sound; rewarding yourself for a "more modern" design with continuous streaming and no requirement that calls for it; not checking that the five reasons add up to 1,240,000.

Conclusion

In this stage MoviCiudad's platform has gained movement and shape. You have decided that the telemetry, even though it arrives without pause, is processed in five-minute micro-batches because no analytical decision needs more; that everything else is transformed in batches with versioned SQL; that eight orchestrated processes load, check, compact and delete what must be deleted; that the validity of a trip is calculated only once and nine official metrics derive from it, and that four use cases run through the platform from the source to the shift supervisor's map or the city council's report. The whole is a small lakehouse, with no speed layer and centralized: similar to DataCorp's in structure and different in cadence, in the treatment of territory and in privacy.

The design is complete, but an unapproved design is just a document. What remains is to show that it fits the budget, that it can be rolled out in phases with three people, that it stands up to a systematic review and, above all, to get management to understand and approve it. That is the subject of the last stage of the project and the last lesson of the course: the results presentation.

© Copyright 2026. All rights reserved