Tagged articles

batch compression

4 articles · Page 1 of 1
Random Bulletin
Random Bulletin
Jun 10, 2026 · Backend Development

Message Compression at Scale: From No Compression to Selective Strategies

A midnight bandwidth alarm triggers a deep dive into message compression, revealing how algorithm choice, compression placement, batch handling, and selective policies evolve from simple no‑compression setups to multi‑layered strategies that balance CPU, bandwidth, disk costs, and latency in million‑QPS systems.

KafkaZstdbatch compression
0 likes · 20 min read
Message Compression at Scale: From No Compression to Selective Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Jul 11, 2021 · Big Data

Why Kafka’s I/O Performance Is So High

Kafka’s I/O efficiency stems from sequential data writes, zero‑copy reads using sendfile, batch compression of messages, and a dual‑threaded batch producer that together minimize random disk access and data copying, dramatically speeding up both reading and writing operations.

IO performanceSequential Writebatch compression
0 likes · 4 min read
Why Kafka’s I/O Performance Is So High
ITPUB
ITPUB
Jul 1, 2019 · Big Data

Why Kafka Handles Millions of Writes per Second: I/O Secrets Revealed

This article explains how Kafka achieves ultra‑high throughput by using sequential disk writes, memory‑mapped files, zero‑copy sendfile reads, and batch compression, while also describing its data retention policies and the trade‑offs of synchronous versus asynchronous producer modes.

Memory Mapped Filesbatch compressionhigh throughput
0 likes · 9 min read
Why Kafka Handles Millions of Writes per Second: I/O Secrets Revealed