Skip to main content
InterviewHubPRO
Section Overview
Q32

Question 32 of 50

Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

64%
Apache Kafka Streaming (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

Tiered Storage in Apache Kafka (KIP-405).

senior LevelMost AskedSystem DesignApache KafkaMicroservices

In Simple Words: Historically, retaining months or years of Kafka data required attaching petabytes of expensive NVMe SSD storage directly to broker instances. Tiered Storage separates compute from storage:

  • Local Tier (Hot Storage): Brokers store the most recent log segments on local high-speed SSDs (e.g. 24 hours of data). Fast reads and writes.
  • Remote Tier (Cold Storage): Closed, immutable log segments are automatically uploaded in the background to cheap cloud object storage (Amazon S3, Google Cloud Storage, Azure Blob).
  • Consumers requesting historic data stream directly from object storage without degrading broker memory or disk performance.