Subject
Data Engineering
How data is collected, shaped, versioned and traced so that a number can be trusted.
Tutorials
- When It Happened vs. When You Knew: Why Data Has Two Clocks
Every fact carries two times: when it happened and when you could have known it. Mixing them up is a quiet reason many historical results look better than they should.
- Data Lineage and Traceability: How to Tell Whether a Number Can Be Trusted
A number does not carry its own credibility. Three questions about where it came from, what was done to it and what depends on it let you judge it.
- The Look-Ahead Trap: Why Your Backtest Looks Too Good
A test that quietly uses information from after the decision date will look better than anything that could have been achieved. Four ways the future leaks in, a simulation of one of them, and how to close them.
- Collecting a Time Series You Can Compare: Fixed Conditions, Snapshots and Honest Gaps
A series of daily observations is only comparable if each was taken the same way. How to fix the conditions, record completeness, keep failures visible and avoid comparing across a change.
- Run It Twice, Count It Once: Building Idempotent Data Pipelines
Jobs are retried, files are re-imported and parsers are re-run. A pipeline must give the same result each time. How to choose keys, tell a repeat from a new observation, and test it.
- Missing Is Not Zero: Five Kinds of Empty and What to Do with Each
An empty cell can mean not observed, not applicable, not yet available, a failed parse or a true zero. Treating them alike corrupts averages, totals and joins. How to keep them apart.
- When a Worker Disappears: Leases, Retries and Safe Job Execution
A background job can outlive the worker that claimed it. Learn how queues, leases, attempts, idempotency and bounded retries work together without pretending failures are perfectly observable.
- Choosing Where Work Runs: Capabilities, Capacity and Placement
A free worker is not necessarily a suitable worker. Learn how schedulers separate hard requirements from preferences, account for changing capacity and explain why work is waiting.
- When the Queue Grows: Backpressure, Admission and Dead Letters
A growing queue is delayed demand, not free storage. Learn how to measure the gap between arrivals and completions, bound waiting, slow producers and isolate work that cannot succeed.
Glossary terms
- Append-only Ledger
A record store that only ever adds rows: corrections are new rows that point at the ones they replace, so history, including the mistake, stays readable.
- Artifact Staging Area
Temporary storage used to hand a job's files from a producer to a consumer, with verification and cleanup around the transfer.
- At-least-once Delivery
A delivery guarantee under which every message or job arrives one or more times, never zero — so duplicates are possible and must be tolerated.
- Backfill
Loading or recomputing data for past periods after the fact — and recording when each value was really loaded, so history is not made to look earlier-known than it was.
- Backpressure
A way for a slower consumer to make upstream producers reduce, pause or reject incoming work before queues and memory grow without bound.
- Bitemporal Data
Data that records two times for every fact: when it was true in the world, and when the system learned it.
- Circuit Breaker
A guard that stops calling a failing service after repeated errors, waits, then tests carefully before resuming.
- Columnar Storage
Storing a table column by column instead of row by row, so analytical queries that need a few columns read far less data.
- Content-addressable Storage (CAS)
Storing each object under a name derived from a hash of its bytes, so identical content has one address and any change creates a new one.
- Cryptographic Hash
A function that turns any input into a short fixed-size fingerprint: the same bytes always give the same fingerprint, and any change gives an unrelated one.
- Data Contract
A written, versioned agreement between the producer of a dataset and the people who use it, covering structure, meaning, timing and quality.
- Data Lineage
The recorded path of a piece of data: where it came from, how it was changed, and what depends on it.
- Data Quality Dimensions
Named aspects — accuracy, completeness, consistency, timeliness, uniqueness — that turn the vague idea of clean data into checks you can measure.
- Data Snapshot
A complete record of a list or table as it stood at one moment, kept as a unit with its time, scope and completeness, so later versions can be compared against it.
- Dead-letter Queue (DLQ)
A separate holding place for messages or jobs that could not be processed under the normal delivery and retry rules.
- Entity Resolution
Deciding which records, in one source or many, refer to the same real-world thing, and linking them under one identifier.
- ETL and ELT (ETL / ELT)
Two orders for moving data into an analysis store: transform it first and then load it (ETL), or load it raw and transform it afterwards (ELT).
- Event Sourcing
Storing every change as an immutable event and working out the current state by replaying the events.
- Execution Attempt
One particular try to execute a job, recorded separately so retries do not erase which worker ran, failed or returned late.
- Exponential Backoff
Waiting longer after each failed attempt, usually doubling the delay and adding randomness, so retries relieve a struggling service instead of piling on.
- Feature Engineering
Turning raw data into inputs a model or rule can use, such as ratios, rates of change and counts over windows. Each must be computable from what was known at the time.
- Fencing Token
A monotonically increasing number attached to a lease or lock, allowing a resource to reject writes from an older holder.
- Fixed-point and Floating-point Numbers
Floating-point numbers are fast but cannot hold many decimal fractions exactly; money and other exact quantities are better stored as whole numbers of a small unit.
- Heartbeat
A small periodic signal showing that a process or node was recently able to communicate, used as evidence of liveness rather than proof of health.
- Idempotency
An operation is idempotent when doing it several times has the same effect as doing it once — which is what makes retries safe.
- Inverted Index
A table mapping each word to the documents that contain it, so a search engine can find matches without scanning every document.
- Job Scheduler
A system that decides when queued jobs may run and which eligible worker should receive each one under capacity and policy constraints.
- Late-arriving Data
Records that reach a pipeline after the period they describe has already been processed or reported. They are normal, so a pipeline needs a rule for them.
- Lease
A time-limited grant to use a resource or perform work; the holder must renew it, and others may proceed after it expires.
- Missing Data
Values that should exist but were not recorded. Why they are missing decides whether ignoring them is harmless or biases the result.
- Moving Average
Replacing each point of a series with the average of the points around it, to smooth short-term noise. A longer window smooths more but reacts later.
- Outlier
An observation far from the rest. It may be an error, a rare but real event, or a sign of two kinds of things mixed together; look before deleting.
- Pagination
Splitting a long list into pages fetched one at a time. How you page decides whether items can be skipped or repeated when the list changes.
- Point-in-Time (PIT)
Reading data as it was known at a past moment — not as it looks today after later corrections and additions.
- Product Identifier
A code that names a product so records can be matched: a seller's SKU, a global GTIN (the number under a barcode), or a marketplace's own catalogue number.
- Product Taxonomy
The hierarchy of categories a platform uses to organise products. It differs between platforms and changes over time, so a category means something only with its version.
- Product Variation
One version of a product that differs in a few attributes such as size or colour, usually grouped under a parent listing. Counts may refer to the parent or to a variant.
- Schema Evolution
Changing the structure of data over time while old data stays readable and existing consumers keep working.
- Slowly Changing Dimension (SCD)
A descriptive attribute, such as a product's category, that changes rarely. Type 2 handling keeps every version with validity dates.
- Three-valued Logic
Logic with a third value, unknown, besides true and false. A rule that depends on a missing value is unknown, not false.
- Time Series
Observations of one quantity recorded in time order. Neighbouring values are related and order matters, so time series need methods that respect time.
- UTC and Time Zones
UTC is the world's reference time scale and a time zone is a local offset from it. Store instants in UTC; convert for display.
- Watermark
A marker of how far a pipeline has progressed — usually the latest time or sequence number fully processed — so the next run only asks for what comes after.
- Work Queue
A queue that holds jobs until workers can claim and process them, separating the rate at which work is submitted from the rate at which it is completed.