Module 8 · Information Systems · Lesson 3 · Week 2

Instruction session · Thursday, October 22, 2026

Architectural Tactics for Data Flow and Transformations

The module moves from the information viewpoint to the computational one. The concepts are studied before class, a thirty-minute exposition consolidates the layers of the medallion architecture, the quality checks, the UML component diagram and the scalability tactics, and the rest of the session is the graded Architecture Activity.

Medallion architectureBronze · Silver · GoldUML component diagramScalabilityGraded activity in class

Project ritual

Daily · 15 minutes

Each group reports the progress of its deliverables, the work planned for this session and the blockers that require a decision.

15:00
What I didWhat I will doBlockersProgress
Session objective and structure

By the end of the session, students should be able to justify the content and the treatment of each layer of a medallion architecture, choose architectural tactics by stating their gains and costs, and represent a data pipeline as a UML component diagram in the graded Architecture Activity.

1Daily15 min
2Exposition: computational viewpoint, medallion layers, quality checks, component diagrams and scalability30 min
3Graded Architecture Activity in class70 min
4Submission check5 min
The session follows a flipped format. The concepts are studied before class in the reading material and the three self-studies, the exposition only consolidates them, and most of the session is the graded activity.
Before this session

The exposition lasts thirty minutes because the study happens before class. Each student arrives with the vocabulary of the layers and the components, and with a first idea of the architecture of the group project.

Read

The reading material

Sections 2 to 9, on the computational viewpoint, the three layers, the quality checks, the component diagram and the scalability tactics.

Study

The three self-studies

The e-commerce medallion case, the guide to component diagrams and the article on data quality by layer, about 90 minutes in total.

Sketch

The pipeline of your project

A first sketch of the sources, layers and consumers of the group project, by hand or in PlantUML. It shortens the start of the graded activity.

From the information viewpoint to the computational one

Lessons 1 and 2 described which information the partner needs and checked it against the data. This lesson describes the functions that move and transform that information, which is the concern of the computational viewpoint of the RM-ODP.

Information · Lessons 1–2

What the data must say

Objectives, KPIs, grain and invariants, recorded in the Data Model Canvas and verified in the exploratory analysis.

Information
Computational · this lesson

Which functions transform it

Components that ingest, conform and model the data, and the interfaces through which each one hands data to the next.

Computational
Correspondence

Each invariant becomes a check

Every invariant of the information viewpoint must be enforced by some component. The architecture shows which one, and in which layer.

InformationComputational
The running example: three sources, one stock-out rate

The fictitious pharmacy chain of Lesson 1 now needs its indicator in production. The data team must turn three heterogeneous sources into a weekly stock-out rate that the purchasing team reads every Monday, and the exposition uses this example throughout.

Sources

POS terminals send JSON files every 15 minutes and resend the whole day after a lost connection. The ERP delivers a nightly extract, and suppliers send CSV files whose columns change without notice.

What the analysis found

Duplicated sale lines in 6% of store-days, stock counts arriving up to three days late, and prescription numbers linked to the customer's CPF inside the sale lines.

Constraints

A team of four, a lake on object storage and a PostgreSQL warehouse, a first version in eight weeks, and 30 new stores planned for next year.

84 stores+30 next year
≈ 2.1 Msale lines per month
6%duplicated store-days
The three layers of the medallion architecture

The medallion architecture organises a lakehouse into layers of increasing refinement. Each layer has a contract with the next one, and the contract states what the data guarantees when it leaves the layer.

LayerPurposeTypical content in the caseGuarantee to the next layer
BronzeKeep what the sources sent, so that any later step can be repeatedPOS JSON files, nightly ERP extracts and supplier CSVs, partitioned by source and ingestion dateCompleteness and traceability to the original delivery
SilverOffer conformed, deduplicated and typed entities that the whole organisation can trustOne sale line per sale and one stock position per product, store and day, with sensitive fields treatedDeclared grain, enforced invariants and stable keys
GoldDeliver data modelled for a specific consumptionThe stock-position fact with store, product and date dimensions, and the weekly stock-out rateBusiness definitions that match the KPIs of the canvas
The layers do not prescribe tools. Bronze can be a bucket of files and Gold a schema in PostgreSQL, as long as each contract is stated and checked.
Data quality checks change from layer to layer

Each layer tests what its contract promises. A check placed in the wrong layer either arrives too late to stop bad data or too early to have the context it needs.

Bronze

Did everything arrive?

File counts per source and period, expected schema, arrival time against the schedule and volume compared with the same day of the previous week.

Silver

Does the data obey the model?

Uniqueness of the declared grain, invariants such as stock never negative, referential integrity and the share of rows sent to quarantine.

Gold

Does the indicator make sense?

Reconciliation of totals with Silver, KPI values within plausible ranges and freshness of the data that the Monday dashboard reads.

The pipeline as a UML component diagram

A component diagram shows the replaceable parts of a system and the interfaces through which they connect. Each component provides an interface that the next one requires, which makes the contracts between layers explicit.

«component»POS / ERP / Supplier connectors
files
«component»Bronze store
raw data
«component»Conformance jobs
entities
«component»Dimensional model
KPI views
«component»Purchasing dashboard
Component

A modular part with a defined responsibility that can be replaced without changing its neighbours.

Provided and required interfaces

Drawn as a ball and a socket. They state what one component offers and what the next one needs.

Dependencies and artefacts

Dashed arrows show dependencies, and artefacts such as Parquet files or tables show what is deployed.

Tactics that let the pipeline scale

A pipeline scales when the work of each run grows with the new data, independently of the size of the history. In the example, thirty new stores will increase the POS volume by about a third. Each tactic below absorbs that growth at a cost that the architecture must state.

Partitioning

Data is split by date and store, so each run touches only the slices that changed. Many small files require compaction.

Incremental processing

A watermark records what was processed. Late data needs a lookback window, or it is skipped.

Idempotent reruns

Rerunning a day produces the same result, which makes reprocessing after a failure safe. It requires overwriting partitions rather than appending.

Decoupling through layers

Each layer can be recomputed from the previous one, so a fix in Silver does not require new extractions from the sources.

Graded Architecture Activity

Seventy minutes of the session are dedicated to the graded activity, a data architecture proposal. Its statement and checklist are on Adalove, and the professor is available in the room during the work.

Weight and deadline

Weight 4 · today, 16:00

Seventy minutes of work in class, from about 11:45 to 12:55. Submission on Adalove until 16:00 on Thursday, October 22.

What to use from today

Layers, checks and tactics

The medallion layers, the quality checks of each layer and the scalability tactics of the exposition are the raw material of the proposal. State the cost of each choice.

A proposal is easier to assess when the diagram and the text follow the same order. Draw the components from source to dashboard, then explain the role of each one in the same sequence, and close each explanation with the cost of the tactic you chose for it.
Self-study for this session

Three readings assigned on Adalove for this session, about 90 minutes in total, with no grade weight. Read them before the class, because the exposition is short and the graded activity assumes the vocabulary they introduce.

The Sprint 1 deliverables are due at the Sprint Review on Friday, October 23. On Adalove, the Data Discovery with Data Model Canvas has weight 4 and the Market and Risk Analysis Workbook has weight 3.

About this session

Architectural Tactics for Data Flow and Transformations · 22/10/2026 · Prof. Afonso

Learning objective

By the end of the session, students should be able to justify the content and the treatment of each layer of a medallion architecture, choose architectural tactics by stating their gains and costs, and represent a data pipeline as a UML component diagram in the graded Architecture Activity.

Session strategy

Flipped session. Students study the reading material and the three self-studies before class and bring a first sketch of the pipeline of their project. A thirty-minute exposition consolidates, on the running example of the pharmacy chain, the contracts of the Bronze, Silver and Gold layers, the data quality checks of each layer, the UML component diagram and the scalability tactics. The remaining seventy minutes are dedicated to the graded Architecture Activity in class, with the professor available in the room and submission on Adalove by 16:00.

Session structure

  1. Daily — 15 min
  2. Exposition: computational viewpoint, medallion layers, quality checks, component diagrams and scalability — 30 min
  3. Graded Architecture Activity in class — 70 min
  4. Submission check — 5 min