TLDR Tech / Data
Apache Kafka performance #1 - linger.ms
linger.ms is a key Kafka producer setting that controls how long to wait before sending a batch, directly affecting throughput, latency, and efficiency. Higher values enable larger, more efficient batches and higher throughput at the cost of increased latency, while low values prioritize low latency but create many small batches and higher overhead.
Read the full story