Kirill Kulikov
How to Benchmark Your Apache Kafka
#1about 4 minutes
A brief overview of Apache Kafka architecture
Key concepts like events, topics, partitions, replicas, producers, and consumers form the foundation of Kafka's distributed system.
#2about 2 minutes
Choosing between throughput and latency optimization
Understand your specific use case to decide whether to prioritize moving large volumes of data (throughput) or ensuring messages arrive quickly (latency).
#3about 5 minutes
Understanding and optimizing for low latency
Minimize end-to-end message delivery time by tuning producer parameters like linger.ms and acks, and consumer settings like fetch.min.bytes.
#4about 3 minutes
Using the sticky partitioner to improve batching
The sticky partitioner improves batching for messages without keys by sending them to a single partition until a batch is full, reducing latency compared to the old round-robin strategy.
#5about 6 minutes
How to configure Kafka for high throughput
Maximize the rate of data movement by increasing partition count, tuning producer batching with batch.size and linger.ms, and enabling compression.
#6about 5 minutes
Strategies and best practices for load testing
Employ stress, spike, and soak testing methods while following best practices like system warmup, multiple runs, and analyzing percentiles to get accurate performance results.
#7about 3 minutes
Monitoring Kafka clusters with JMX and system metrics
Gain observability into your cluster's health by collecting JMX metrics from brokers and clients, alongside essential system metrics like CPU, disk, and network usage.
#8about 3 minutes
Using Kafka's built-in performance testing scripts
Leverage the out-of-the-box kafka-producer-perf-test and kafka-consumer-perf-test command-line tools for basic performance benchmarking.
#9about 3 minutes
Advanced benchmarking with Trogdor and JMeter
Use advanced tools like Trogdor for fault injection and workload execution, or Apache JMeter with the Pepper-Box plugin for more complex and controlled load testing scenarios.
Related jobs
Jobs that call for the skills explored in this talk.
Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
Java
Amazon Web Services (AWS)
+1
Matching moments
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
03:38 MIN
Balancing the trade-off between efficiency and resilience
What 2025 Taught Us: A Year-End Special with Hung Lee
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
02:55 MIN
Why developers often undervalue their time and paid tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
03:34 MIN
The business case for sustainable high performance
Sustainable High Performance: Build It or Pay the Price
05:32 MIN
Getting hired by contributing to open source projects
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
02:30 MIN
Measuring the gap between brand promise and reality
Retention Over Attraction: A New Employer Branding Mindset
Featured Partners
Related Videos
Let's Get Started With Apache Kafka® for Python Developers
Lucia Cerchie
Tips, Techniques, and Common Pitfalls Debugging Kafka
DeveloperSteve
Don't Change the Partition Count for Kafka Topics!
Dainius Jocas
Practical Change Data Streaming Use Cases With Debezium And Quarkus
Alex Soto
Why and when should we consider Stream Processing frameworks in our solutions
Soroosh Khodami
Python-Based Data Streaming Pipelines Within Minutes
Bobur Umurzokov
Frontend Performance Testing in practice
Jonas Kröger
Kafka Streams Microservices
Denis Washington & Olli Salonen
Related Articles
View all articles.gif?w=240&auto=compress,format)



From learning to earning
Jobs that call for the skills explored in this talk.

Digital Talent Agency
Barcelona, Spain
Senior
Bash
Azure
Kafka
Python
Docker
+5


ADMIRAL Technologies
Gumpoldskirchen, Austria
Remote
€55K
ETL
Java
Linux
+5


Krell Consulting & Training
Municipality of Madrid, Spain
Spark
Data Lake
Elasticsearch

Rigobeert Cremers
Ghent, Belgium
Intermediate
API
Java
Azure
Kafka
Docker
+5

Revolut Ltd
Municipality of Madrid, Spain
Remote
€86-96K
API
Linux
MySQL
+15

Westhouse Consulting GmbH
Berlin, Germany
Senior
Kafka
Kubernetes
Microservices

mund consulting AG
Frankfurt am Main, Germany
Senior
GIT
Java
REST
Scrum
Kafka
+6