🧭Stream Processing
Also known as Streaming Data Processing, Real-Time Processing, Event Stream Processing
Each event is handled as it comes in. The answer is ready in seconds.
Think of it like
It is like a tap that is always on. You fill each cup the moment it is held out.
Example
A card company checks each payment as it happens. If a card is used in London and Tokyo within ten minutes, the second payment is blocked.
Why it matters
Some answers are worthless if they come late. Fraud, stock levels and live maps all need data within seconds.
Definition
Common mistake
Key takeaways
- 1One event at a time. Each event is handled as it comes.
- 2Never done. The job runs all the time.
- 3Late events happen. The code must expect data out of order.