Confluent

Tail Latency at Scale with Apache Kafka

Feb 25, 2020Anna Povzner
Tail Latency at Scale with Apache Kafka
SummaryAI, from the source post

This post provides a deep dive into understanding and optimizing end-to-end latency in Apache Kafka. It breaks down latency into five components: produce time, publish time, commit time, catch-up time, and fetch time, explaining the factors influencing each. It also clarifies the relationship between end-to-end latency, producer latency, and consumer latency, and discusses strategies for bounding tail latencies by addressing head-of-line blocking and micro-bursting. The post emphasizes tuning client and broker configurations, and scaling Kafka clients for throughput while minimizing queueing delays and congestion.

More from the Kafka Broker and Streams Enhancements trail