Watermarks in Apache Flink Made Easy
Why event-time processing needs watermarks, explained with a simple stream sorter: four observations on buffering, waiting and bounded out-of-orderness in Apache Flink.
Technical articles on stream processing, Apache Flink, architecture, and the internals that power real-time data platforms.
Why event-time processing needs watermarks, explained with a simple stream sorter: four observations on buffering, waiting and bounded out-of-orderness in Apache Flink.
Step by step: how the Flink Kafka source stores partition offsets in checkpoints, how barriers keep operator state consistent, and how offsets are restored after a failure.
How to configure state time-to-live (TTL) in Apache Flink: when the TTL is reset, whether expired state is returned, and how expired state is cleaned up.
A practical guide to broadcast state in Apache Flink: broadcasting a pattern stream to all tasks and evaluating it on keyed user actions with KeyedBroadcastProcessFunction.
How Apache Flink combines checkpoints with a two-phase commit protocol to deliver end-to-end exactly-once semantics with Apache Kafka transactions.
How Apache Flink incremental checkpoints work with RocksDB: only new SST files are uploaded, a shared state registry counts references, and old files are pruned.
A worked example for sizing an Apache Flink cluster: start from throughput, keys and state size, then add up network, state-access and checkpoint traffic per machine.
MediaMath rescaled its stateful Flink reporting job after the 2017 S3 outage. A deep dive into how Flink redistributes operator state and keyed state with key groups.
How Apache Flink responds to backpressure: bounded network buffer pools let a slow task throttle its upstream tasks, all the way back to a durable source, without losing data.
Streaming fault-tolerance architectures compared (record acks, micro-batching, transactional updates, distributed snapshots), with Flink vs Storm throughput and latency benchmarks.