internalsGet Pro

Module 18 · Lesson 8 of 13Pro

Batch and streaming together: Lambda and Kappa

Level
Advanced
Topic
Scale, performance and cost
Reading time
16 min

When you finish this page you can

  1. Explain how the Lambda architecture uses a batch path to correct a streaming path, and how the Kappa architecture reprocesses by replaying the log instead.
  2. Estimate how long a replay takes and what log retention it needs, and say when a recount from the lake has to take over.
  3. List the reasons a live dashboard and a nightly report give different numbers for the same day, and say which differences are expected.
  4. Spot where a lakehouse table written by both a streaming job and nightly batch jobs needs its writers coordinated.
  1. Batch vs streaming: how fresh data needs to be14 min
  2. Retention, compaction and replaying events18 min
  3. Watermarks: deciding when late events stop counting17 min
  4. Freshness and quality targets for data16 min

A 2.9% gap after the spring sale

At 09:30 IST on Sunday 8 April 2029, the morning check on Saturday’s spring sale comes back red. For the sale hour from 20:00 to 21:00, the festival dashboard showed 2.9% fewer add-to-carts than the nightly recount of the same clicks. The target is 2%.

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