Batch vs stream processing
A fraud check runs every night at midnight. A stolen card is used at 10 a.m., and by the time the job flags it, the thief has had fourteen hours. Some answers can wait until tomorrow, and some can't. That's the choice between batch and stream processing.
In this lesson you'll learn to
- Compare batch processing of bounded data with stream processing of unbounded data, on latency, cost and simplicity.
- Explain windows (tumbling, sliding and session) and how stream processors keep state.
- Tell event time from processing time, and handle late events with watermarks.
- Choose batch, stream, micro-batch or a mix, and explain the lambda and kappa architectures.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.