Bird
0
0

If Kafka's log.segment.bytes is set too high, what is a likely impact on disk I/O?

medium📝 Predict Output Q5 of 15
Kafka - Performance Tuning
If Kafka's log.segment.bytes is set too high, what is a likely impact on disk I/O?
AIncreased network latency
BMore frequent log segment rollovers
CLonger disk flush times and slower recovery
DReduced disk space usage
Step-by-Step Solution
Solution:
  1. Step 1: Understand effect of large segment size

    Larger log segments mean more data per file, causing longer flush and recovery times.
  2. Step 2: Compare with other options

    More frequent rollovers happen with smaller segments, network latency is unrelated, and disk space usage usually increases with larger segments.
  3. Final Answer:

    Longer disk flush times and slower recovery -> Option C
  4. Quick Check:

    Large log.segment.bytes = longer flush and recovery [OK]
Quick Trick: Big segments slow disk flush and recovery [OK]
Common Mistakes:
MISTAKES
  • Thinking bigger segments cause more rollovers
  • Confusing disk I/O with network latency
  • Assuming disk space decreases with bigger segments

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes