Isn't everything batched ? I've built live streaming video, iot, and it's batches all the way down.
“Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
21–30 of 45 posts
Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#22In the old days batch was not realtime and took a while. Imagine printing bank statements, or calculating interest on your accounts at the end of the day. You literally process them all later.
Streaming is processing the records as they arrive, continuously.
IRL you can stream then batch...but normally batch runs at a specific time and chows everything.
Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#23It does seem to me that push vs pull are slightly more standardized in usage, which might be what the author is getting at. But even then depending on what level of abstraction in the system you are concerned with the concepts can flip.
Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#24Just seems like a flawed premise to me since lambda architecture is the context in which streaming for data processing is frequently introduced. The batch vs stream discussion is more about the implementation side - tools or techniques best used for one aren’t best suited for the other since batch processing is usually optimized for throughput and streaming is usually optimized for latency. For example vectorization is useful for the former and code generation is useful for the latter.
Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#25- 'Streaming' means the consumer determines server utilization rates
- 'Batch' means the server determines server utilization rates
I much prefer Batch as the processing can be performed when the server has appropriate resources, helping products run on lower spec servers.
Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#26Streams -> optimized for latency Batches -> optimized for efficiency
Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#27My experience is the opposite.
You think you need streaming, so you "try it out" and build something incredibly complex with Kafka, that needs 24h maintenance to monitor congestion in every pipeline.
And 10x more expensive because your servers are always up.
And some clever (expensive) engineers that figure out how watermarks, out of orderness and streaming joins really work and how you can implement them in a parallel way without SQL.
And of course a renovate bot to upgrade your fancy (but half baked) framework (flink) to the latest version.
And you want to tune your logic? Luckily that last 3 hours of data is stored in Kafka so all you have to do is reset all consumer offsets, clean your pipelines and restart your job and the in data will hopefully be almost the same as last time you run it. (Compared to changing a parameter and re-running that SQL query).
When all you business case really needed was a monthly report. And that you can achieve with pub/sub and an SQL query.
In my experience the need for live data rarely comes from a business case, but for a want to see your data live.
And if it indeed comes from a business case, you are still better off prototyping with something simple and see if it really flies before you "try it out".
Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#28Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#29Re: “Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing
#30"Try it yourself" "very quickly wanted to get real-time streaming for more" My experience is the opposite. You think you need streaming, so you "try it out" and build something incredibly complex with Kafka, that needs 24h maintenance to monitor congestion in every pipeline. And 10x more expensive because your servers are always up. And some clever (expensive) engineers that figure out how watermarks, out of ordernes…