Kafka Request Purgatory Performance
Apache Kafka, Purgatory, and Hierarchical Timing Wheels | Confluent

Apache Kafka, Purgatory, and Hierarchical Timing Wheels | Confluent

10/28/2015 · Yasuhiro Matsuda

What this post added

Introduced a new implementation for Kafka's request purgatory using Hierarchical Timing Wheels and doubly linked lists. This redesign addresses memory exhaustion and performance bottlenecks of the previous DelayQueue-based implementation by enabling immediate deletion of completed requests and reducing the overhead of the purge process. Benchmarks demonstrate substantial improvements in request throughput and CPU efficiency.

Read the original post ↗