internalsGet Pro

Module 09 · Lesson 12 of 14Pro

Case: PhonePe’s Kafka at 100 billion events a day

Level
Advanced
Topic
Event streaming with Kafka
Reading time
17 min

When you finish this page you can

  1. Trace PhonePe’s two-step ingestion path and say what writing events to local disk first buys and costs.
  2. Explain why PhonePe split each data centre’s Kafka into a write cluster and a read cluster, and how data can move between them.
  3. Compute a capacity score from a broker’s resource readings and name the resource that limits it.
  4. Decide which of PhonePe’s practices Kartly’s 6-broker cluster needs now, and what would make it adopt the rest.

Builds on 3 lessons

Start with lesson 217 min
  1. Kafka in practice: topics, partitions and offsets17 min
  2. Kafka producers: keys, batching and acknowledgements17 min
  3. Kafka consumers: groups, commits and rebalancing17 min

500 times Kartly’s clicks, and Kafka wasn’t the hard part

PhonePe, the Indian payments app, moves about 100 billion events a day through Kafka.1 , our example online store in India, moves about 200 million click events a day through its own. That is a factor of 500.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan