internalsGet Pro

Module 01 · Lesson 11 of 11Pro

Design: a first analytics pipeline for an online store

Level
Intermediate
Topic
Data engineering fundamentals
Reading time
30 min

When you finish this page you can

  1. Design a nightly pipeline from a PostgreSQL read replica to a published report, from requirements and estimates down to tables, windows and checks.
  2. Make every night safe to run again, so a failed or repeated run replaces its own rows instead of adding to them.
  3. Publish a night’s results all at once, and stop the publish when a check or a source change says the numbers can’t be trusted.
  4. Explain which parts of the design change at ten times the data and at Kartly’s next stage.

Builds on 4 lessons

Start with lesson 112 min
  1. Introduction to data engineering12 min
  2. The data lifecycle: from source to decision13 min
  3. Operational vs analytical data: two different jobs13 min
  4. Batch vs streaming: how fresh data needs to be14 min

The night that ran twice

It’s 04:40 on Tuesday, 10 November, at . Kartly is an online store in India. Every night a job copies the day’s orders and click events from the store’s PostgreSQL into an analytical database. Daniel, who leads finance reporting, reads Monday’s revenue from it at 07:00.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan