Full Project: How Uber Finds Your Driver in 10 Seconds | Redis + Kafka + Spring Boot
Yeshendra Dhaker
0:00 / 0:00
Full Project: How Uber Finds Your Driver in 10 Seconds | Redis + Kafka + Spring Boot
46 234 просмотра · 6 мес. назад
Yeshendra Dhaker
10,7 тыс. подписчиков
46 234 просмотра · 6 мес. назад
You open Uber. You request a ride. In 10 seconds a driver is assigned. But how? 500 drivers are moving around your city RIGHT NOW. How does Uber find the nearest one instantly? Why does normal SQL fail at this scale?
In this video we build Uber's real-time driver matching system from scratch — production level code, not a basic tutorial.
Spring Boot Microservices Full Course [Github]: https://github.com/YeshendraDhaker/Sp...
Spring Boot Microservices Full Course [Playlist]:
• Spring Boot Microservices Full Course Series
Join the WhatsApp Community: https://chat.whatsapp.com/KfmzhmMXhK9...
Docker Compose File: https://drive.google.com/drive/folder...
Source Code: https://github.com/YeshendraDhaker/Ub...
TimeStamps:
00:00-01:56 - Overview Uber Scenario
01:57-09:29 - Understanding the actual problem, scale 1000+ drivers
09:30-15:33 - HLD Architecture
15:34-17:50 - Redis Geospatial Index
17:51-20:59 - Redis GEOADD Command to store Drivers
21:00-22:44 - Redis GEOSEARCH Command to search nearby drivers
22:45-25:33 - Redis GEODIST, GEOPOS Command
25:34-30:08 - Setting up Zookeeper, Kafka, and other dbs.
30:09-32:59 - Setting up all the microservices.
33:00-55:30 - Location-Service Code
55:31-1:05:35 - [Full Code] How to find nearby drivers within given radius.
1:05:36-1:07:03 - Location Service Code Cont.
1:07:04-1:09:58 - Redis Configuration.
1:09:59-1:11:20 - Setting up application.properties.
1:11:21-1:37:15 - Ride-Service Code.
1:37:15-1:43:26 - How user requests a ride [Full Code]
1:43:27-1:45:04 - [Kafka] Publishes Ride.Requested Event.
1:45:03-1:46:03 - Ride-Service Code Cont.
1:46:04-1:48:56 - [Important] Consumes after driver Found to update status.
1:48:57-1:57:00 - Ride-Service methods Implementation.
1:57:01-2:01:32 - [Important Code] Calculation of Estimate Fare algorithm.
2:01:33-2:07:00 - Ride-Service Cont.
2:07:01-2:09:58 - Ride-Service Kafka Config.
2:09:59-2:16:28 - Ride-Service application.yml.
2:16:29-2:32:39 - Matching-Service Code
2:32:40-2:48:47 - [Uber's Weapon, Code] Finding the Best Driver nearby.
2:48:48-2:53:43 - Matching-Service application.yml.
2:53:44-2:59:06 - RideEventConsumer.
2:59:07-3:16:28 - Uber Project Live Testing - 1
3:16:29-3:37:48 - Uber Project Live Testing - 2
3:37:49-3:40:21 - Master Course Update.