Загрузка...

Zomato’s Backend Architecture | Rider Assignment System from Scratch Java LLD + Kafka + Redis 🔥

Ever wondered how Zomato assigns the best possible rider to your order in under 1 second?

In this video, we’ll break down the real-world low-level design (LLD) of the Rider Assignment System used by apps like Zomato, Swiggy, and Uber Eats — and implement it in Core Java from scratch! 🚴‍♂️💨

🔖 Chapters:

0:00 – Introduction
0:57 – What You’ll Learn on This Channel
1:17 – Understanding the Zomato User Experience
1:53 – Order-to-Delivery Workflow Breakdown
4:04 – High-Level System Architecture (Rough Flow)
8:20 – Rider Assignment Logic Explained
9:20 – UML Diagram + Code Walkthrough
19:52 – Grid Indexing Overview
22:50 – How Real-World Rider Systems Work + Time Complexity
24:00 – What is GeoHashing?
26:07 – Rider Scoring Algorithm
31:04 – Kafka Basics for Backend Devs
34:40 – Kafka Flow in Rider Assignment
36:48 – Retry Logic & Radius Expansion Strategy
41:00 – Retry Pseudocode Implementation
44:14 – Handling Failures and Edge Cases
46:36 – Notification System Integration
47:53 – Role of the Routing Engine
49:29 – ML Model, Microservice Breakdown & Event-Driven Architecture
50:30 – Monitoring and Metrics in Production


🔍 What You’ll Learn:
✅ Rider scoring algorithm (distance, idle time, traffic, rating)
✅ Retry logic & radius expansion
✅ Kafka event flow (restaurant_accepted, rider_rejected, DLQ)
✅ Redis GeoHashing & nearby rider lookup (explained)
✅ Real-time notifications & system monitoring
✅ Edge case handling in production systems
✅ Clean, testable Java LLD using design patterns

📂 Resources & Downloads:

📌 Presentation Slides (PPT):
https://drive.google.com/file/d/16iDiKE5Queu9Ky1lhtnss8LSdzeSgRyt/view?usp=sharing

💻 Complete Source Code:
https://github.com/codewithmrunmai/zomato_rider_assignment_lld

🧭 Rough Architectural Flow (Diagram):
https://drive.google.com/file/d/161ungGKtU2ZN9ggWFM_Zrj52c207w0G2/view?usp=sharing

🧩 UML Diagram (Lucidchart):
https://lucid.app/lucidchart/0987a7e8-38fb-47c6-b270-165441161151/edit?viewport_loc=-250%2C-100%2C4142%2C2193%2C0_0&invitationId=inv_fd818920-0e4b-4cd8-8038-3e91813cedac
💻 Tech Stack Covered:
Core Java

Kafka (theory & flow)

Redis (Geo indexing)

Real-world industry practices

System Design Thinking

🎯 Who Should Watch?
Aspiring Backend Developers

Students preparing for LLD/System Design rounds

Java & Spring Boot Engineers

Anyone curious about how food delivery works at scale

✨ Don’t just write backend — think like an architect.
🔥 Drop a comment if you want the Spring Boot + Kafka version next!
📌 Subscribe for more real-world projects & LLD deep dives!

Видео Zomato’s Backend Architecture | Rider Assignment System from Scratch Java LLD + Kafka + Redis 🔥 канала Mrunmai Dahare
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять