Phase 10Advanced11 of 18 in Apache Kafka
Storage & Performance Internals
Log segments and sparse indexes, why Kafka is fast (sequential I/O, page cache, zero-copy, batching), JVM and OS resources, time- and size-based retention, log compaction and tombstones, and tiered storage.
Kafka's performance comes from a handful of deliberate design choices: append-only files, letting the operating system cache them, sending bytes from disk to network without copying them through the JVM, and batching everything.
Understanding the storage layout also explains retention, compaction and the newer tiered storage, which changes how much data a cluster can economically keep.
0/6 · 0%
6 topics ~44 min 8 code blocks & diagrams