페이지

2024년 9월 21일 토요일

Factors impacting Kafka performance CPU

1. CPU is usually not a performance bottle neck in Kafka because Kafka does not parse any messages, but can become one in some situations


2. If you have SSL enabled, Kafka has to encrypt and decrypt every payload, which adds load on the CPU


3. Compression can be CPU bound if you force Kafka to do it. Instead, if you send compressed data, make sure your producer and consumers are the ones doing the compression work (that's the default setting anyway)


4. Make sure you monitor Garbage Collection over time to ensure the pauses are not too long

댓글 없음: