Sari la conținut
aiqbenchInformații despre AI & calcul cuantic
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre
...Se încarcă sesiunea
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre

Română · beta. Traducerea a fost făcută automat și este încă în curs de revizuire. Citește pagina în engleză

  1. Joburile viitorului
  2. ›
  3. Data & Intelligence Engineer
  4. ›
  5. Lecția 2 din 8

Lecțiile acestui traseu sunt publicate deocamdată doar în engleză, așa că lecția de mai jos apare în engleză. Restul — module, quiz și materiale — funcționează la fel.

Ingestion — Batch, Streaming & CDC

Intermediar¶ Citire · 3 min⚑ Misiune · 25 min◆ Test · 5 întrebări✓ Verificată la 30 nov. 2026

Vei putea să:

You can pick an ingestion pattern (batch, micro-batch, streaming, change-data-capture) for a given source and articulate the tradeoffs in latency, cost, and operational complexity.

A team spends six weeks building a Kafka pipeline so their data is available within seconds. The dashboard it feeds is reviewed once each morning over coffee. They now carry consumer lag alerts, partition rebalancing, and an on-call rotation, in exchange for latency nobody will ever perceive. Choosing an ingestion pattern badly is expensive in a way that does not show up until you are maintaining it.

The four patterns

Batch moves data in scheduled bulk loads — simple, cheap, and easy to reason about. Micro-batch does the same on a tight interval, trading a little efficiency for minutes-level freshness. Streaming processes events continuously as they arrive. Change data capture reads the source database's write-ahead log, turning every insert, update, and delete into an event.

The decision rule that experienced engineers apply, and beginners skip: choose based on how the data is consumed, not on how fresh it could theoretically be. Latency is a business requirement, and most requests for real-time data actually mean "I do not want to wait until tomorrow" — which hourly batch satisfies completely, at a fraction of the operational cost.

Why CDC is different from an incremental query

The common approach to incremental loading is a periodic query filtering on an updated-at column. This looks equivalent to CDC and is not, for one important reason: it can only see the current state of a row. A row that was deleted is simply absent, indistinguishable from a row that never existed. A row updated twice between runs shows only its final value.

CDC reads the log itself, so it captures every state transition including deletes. If your source system ever hard-deletes rows, an incremental query will drift away from the truth permanently and quietly.

Failure modes

Silent delete blindness — incremental ingestion on an updated-at column never observes hard deletes, so rows accumulate in the warehouse forever. Signal: warehouse row count exceeds the source and the gap widens month over month.

Backfill storm — a CDC connector loses its position and restarts from the beginning of the retained log, replaying months of history at once. Signal: write volume and warehouse spend jump by orders of magnitude within an hour, with no change in source activity.

Watermark gap — a batch job selects rows where updated-at is greater than the previous run's end time (or the maximum updated-at it saw). Rows that commit late — written by a transaction that began before the scan but committed after it — carry timestamps inside the window that was already scanned, so they are never picked up. Watermarking on the previous run's start time minus a safety margin longer than the longest-running transaction, and de-duplicating the overlap that produces, is the standard mitigation. Signal: a small, random scatter of missing records with no errors anywhere — the hardest ingestion bug to detect, because nothing looks wrong.

Schema evolution break — a producer adds a field, and a consumer with a strict schema refuses the message. Signal: consumer lag climbing steadily while the source system reports perfect health.

Explaining this to stakeholders

On the three patterns: batch is mail delivered once a day, streaming is a phone line held permanently open, and CDC is a security camera on the database — instead of photographing the room each night and guessing what moved, you have a recording of every change.

On why the team is not building streaming: a phone line that is always open costs more than a mailbox, and it only pays off if someone is always listening. Nobody reads this report before 9am.

On the cost of freshness: each step from daily to hourly to instant roughly multiplies the operational burden. The honest question is not "would you like it faster" — everyone says yes — but "what decision would you make differently if you had it faster."

Materiale selectate

1h

Munca de profunzime se întâmplă aici — lecția este briefingul tău.

  • Debezium: Change Data Capture ConceptsDocumentație· 20 min
  • Kafka: Streams ConceptsDocumentație· 25 min
  • What Data Pipeline Architecture Should I Use? (Google Cloud)Tutorial· 15 min

În direct pe aiqbench

Subiectul acestei lecții în restul site-ului, astăzi.

În știri, ultimele 30 de zile

  • RoboIntervene: A Dataset for Learning When to Step In and How to Recover Robot Policy ExecutionarXiv · 4 dec.
  • HuGEM: A Humanoid Manipulation Dataset with Paired Goal- and Execution-Level InstructionsarXiv · 4 dec.
  • Human-Agent Forensics and Recovery of an Extreme-Scale Climate DatasetarXiv · 4 dec.
Mai multe știri pe acest subiect →

Mergi mai departe

  • Fișele benchmarkurilorCe măsoară fiecare benchmark și unde nu ajunge.
  • Întreabă AI despre această lecțieDeschide Întreabă AI cu o întrebare despre această lecție, cu răspuns din arhiva de știri, cu surse.
  • Skill-uri de agent pentru această muncăSkill-uri gata făcute pentru agenți AI de programare, verificate și evaluate.

Testează-ți cunoștințele

5 întrebări în 100 de secunde, pe o pagină separată. Citește mai întâi tot ce este mai sus.

Testează-ți cunoștințele →

Misiunea modulului

20–30 min

For three sources — a nightly Postgres export, a Kafka clickstream, and a third-party SaaS API — choose an ingestion pattern for each and justify it in one sentence, calling out the failure mode you are accepting.

Se încarcă lucrarea ta…

← Lecția anterioară1. Foundations of Data EngineeringLecția următoare →3. Data Modelling & Transformation
aiqbench
Informații despre AI & calcul cuantic© aiqbench. Toate drepturile rezervate.

Fluxuri:RSS·JSON Feed

LimbăEnglish·Românăbeta
ȘtiriAI & tehnologieCuanticAnalize
ExploreazăBenchmark-uriÎnvață
CompanieDespreÎncredereInformații legaleTermeni și condițiiPolitica de confidențialitateNotificări privind drepturile de autorȘtergerea datelorRaportează conținut

Perspectiva aiqbench, analizele, rezumatul zilnic și răspunsurile din Întreabă sunt scrise de modele AI din sursele afișate, fără revizuire editorială înainte de publicare. Pot conține erori — verifică sursa. Cum este folosit modelul →

  • Știri
  • Analize
  • Întreabă
  • Topuri
  • Cont