internalsGet Pro

Module 12 · Lesson 10 of 12Pro

Case: Uber’s data lake from batch to streaming

Level
Advanced
Topic
Data lakes and lakehouses
Reading time
18 min

When you finish this page you can

  1. Explain why Uber’s batch ingestion left its lake hours or days behind, and how Flink jobs writing Hudi tables cut that to minutes.
  2. Estimate how many files a streaming writer makes in a day, and compare rewriting them with merging their row groups.
  3. Trace how a stream processor’s checkpoint and a table commit can fall out of step, and how storing the checkpoint id in the commit fixes it.
  4. Decide which of Uber’s fixes Kartly needs when its click tables go streaming, and which it can leave out.
  1. The small files problem17 min
  2. Checkpoints: recovering without losing results18 min
  3. Inside a table format: snapshots and transactions18 min
  4. Streaming into Iceberg and Delta tables18 min

A click from 15:00 reaches the lake tables the next morning

At 15:00 on Tuesday 14 December 2027, a shopper taps a phone on ’s app. Kartly is an online store in India, and its apps send about 200 million click events a day. That click is in within a second. It lands in a Parquet file in S3 up to about 2.3 hours later. It reaches the cleaned click table, the silver layer, only when the nightly job rebuilds that table the next morning.

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