Zero-Copy and the Page Cache: Why Kafka Is Fast, Using FileChannel.transferTo

2 weeks ago 37
Club.noww.in
Kafka moves enormous amounts of data, yet its brokers do surprisingly little work per byte. The secret is not clever Java code. It is the opposite: Kafka avoids touching the data at all and lets the operating system do the heavy lifting. In this article, we follow a message from disk to network, explain the …
Read Entire Article