- tags: Bigdata,Streaming,Stateful Stream Processing
- source: Kreps, Jay. “Why Local State Is a Fundamental Primitive in Stream Processing - O’Reilly Radar.” Accessed January 5, 2022. http://radar.oreilly.com/2014/07/why-local-state-is-a-fundamental-primitive-in-stream-processing.html.
Why
- local state is much faster than a distribut database.
- local state can easily restore by some middleware like Kafka: by writing changes to a Kafka topic.