AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Data platforms: event time, late data and the hourly counts that changed

Learn why counting events by when they happened differs from counting them by when they arrived, how long to wait for late data, and how to publish hourly numbers that are fast, honest and eventually exact.

In a data platform, events do not arrive in the order they happened. Phones lose signal, queues back up and batch jobs run late. Every count per minute or per hour therefore has two clocks: event time (when it happened) and arrival time (when the platform saw it). Counting by the wrong clock gives wrong numbers, and waiting for late data trades freshness for completeness.

This course models both clocks and the waiting trade-off with small Python programs you can run in your browser. Python stands in for a streaming or batch engine: the code is not any product's pipeline, but the windows, the late arrivals and the completeness it shows are the real ideas. Check your platform's documentation for the real names, such as watermarks and allowed lateness. All numbers are made up.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

No data platform experience is assumed. Basic Python helps.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 25 min Free sample 🔒 AiTeky Pass Two clocks Count events in ten-minute windows by event time and by arrival time, and see why the two give different answers when some events arrive late.
  2. 02 25 min 🔒 AiTeky Pass How long to wait Close each window after a waiting time, count how many of its events made it in, and see the trade-off between fresh numbers and complete ones.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 03 30 min 🔒 AiTeky Pass On the job: the hourly counts that changed Hourly order counts sent to operations change when people look again an hour later. Measure how complete the numbers are at each wait, compare four fixes by effort and risk, choose, and write the note.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in