System Design of a Delivery System like Zomato with

  Рет қаралды 30,207

Gaurav Sen

Gaurav Sen

Күн бұрын

Пікірлер: 30
@KeertiPurswani
@KeertiPurswani 8 ай бұрын
Absolutely love recording this series! The discussions are so raw and real, hope you all are also liking it!
@rishiraj2548
@rishiraj2548 8 ай бұрын
Yes... Great thanks
@rishabhbafna36
@rishabhbafna36 7 ай бұрын
12:55 Here in the cache you can store the data in a priority queue like data structure in low level, where the nearest, best rated and fairest top riders let say 10 will get the notification of the order. And If non of them accepts for say 1 minute, than next 10 will be shown. This way we can limit the size of the cache and fetch the top required data from the central db in the memory.
@arunavasaha7051
@arunavasaha7051 5 ай бұрын
Yes, thats great idea
@harshadgohil408
@harshadgohil408 2 ай бұрын
Yes thats how it works
@GodwinStefanSalvatoreAddo
@GodwinStefanSalvatoreAddo 18 күн бұрын
This introduces a bias.
@AnotherYoutuber-w9z
@AnotherYoutuber-w9z 3 күн бұрын
22:51 I am seeing this video while tracking delivery person on Zomato .. they track every 10 seconds .. I M noticing so many things .. interesting video
@andw2001
@andw2001 8 ай бұрын
Congrats Guys, could get a lot of insight from this talk! Rock on! 😁
@sudosai
@sudosai 3 ай бұрын
why do we want to shard based on city when all the data can easily fit in memory of a redis server? we can have 2-3 replicas of the primary redis server for availability & serving read requests model = rider id (uuid which takes 16 bytes), status (1 byte for online/offline), location (52 bits or 7 bytes as per redis geohash doc) assuming riders = 10^9 (1 billion), the size estimate becomes 10^9 * (16 + 1 + 7) = 24 GB this can easily fit in a redis server and serve 100k qps / replica which is a lot for this system. --- Liked the pushback on not maintaining a persistent connection. It makes sense and is logical. Clients polling every 2-3 seconds is a simple and effective solution. No need to complicate it and maintain websocket servers or long polling connections which take up memory without adding any business value
@oussamasethoum1665
@oussamasethoum1665 10 күн бұрын
In term of implementation would you do another video which will be interesting.
@RAZREXE
@RAZREXE 8 ай бұрын
Amazing video as always, thanks Keerti and Gaurav
@RamkumarL-o9z
@RamkumarL-o9z 4 ай бұрын
Interesting design and discussion.
@Black_hacker-mj2ro
@Black_hacker-mj2ro 3 ай бұрын
First Save Data in Redish Cache and distributed cache later on save in your central DB and Delivery boys should be in order of priority queue
@sandipan329
@sandipan329 6 ай бұрын
@KeertiPurswani, Gaurav, what tool/website do you use to draw the shapes for system design, the one in the video seems really smooth here!!
@unity001
@unity001 4 ай бұрын
Mirro / Gliffy
@harshadgohil408
@harshadgohil408 2 ай бұрын
For delivery Updates you can use kafka call
@narissakarimahajratalli6779
@narissakarimahajratalli6779 3 ай бұрын
Can you do a video similar to a food delivery service but with a specific focus on an ordering workflow and restaurant integration?
@bagirathan8350
@bagirathan8350 6 ай бұрын
don't you think for updating the location its better to have a seperate service where delivery partner sends location updates to which updates the cache instead of delivery matching service since it could have a lot of persistent connections and can be scaled independently, because there may be few orders in a day and some days can have large orders which would make the load on delivery matching service quite high, because anyway we have to update the location of drivers, or am i missing something?
@chaitanyasravanthi9869
@chaitanyasravanthi9869 3 ай бұрын
What is this tool you use to draw?
@adityashrivastava5018
@adityashrivastava5018 8 ай бұрын
Which keyboard does gaurav has ?
@BloggerVikash
@BloggerVikash Ай бұрын
Along with Api call by person to RiderManager, there should be a limited socket connection as well. Like when the people is on tracking screen or page, the API call will hit, and that will fetch the latest updated location of the rider, but the API will also make a connection with webscoket, and send a message (start_tracking) to get consistent connection update from the Rider. Once he wish to leave that tracking screen or page, send a websocket message(stop_tracking) to disconnect the connection. I think, this will fulfill all the requirement in optimized way. What do you think?
@biswajitroy_isgpp2343
@biswajitroy_isgpp2343 6 ай бұрын
Hey gaurav can u explain the persistent connection
@BloggerVikash
@BloggerVikash Ай бұрын
Live connection between two, like you are online on whatsapp, you are getting live chat messages, you are sending live chat messages.
@akshaynaik1719
@akshaynaik1719 7 ай бұрын
Which tool you using for designing?
@AtizaJuanita
@AtizaJuanita 7 ай бұрын
It's called Miro
@prashantgarde
@prashantgarde 8 ай бұрын
Thankyou
@rishiraj2548
@rishiraj2548 8 ай бұрын
🙏🙂👍
@rsroyalrahul5
@rsroyalrahul5 Ай бұрын
you guys designed a location based service without discussing geohashes! Disappointing!
@Rapopper
@Rapopper 3 ай бұрын
😢nicd
@dhirajnavale3861
@dhirajnavale3861 8 ай бұрын
1st
WHATSAPP System Design: Chat Messaging Systems for Interviews
25:15
Gaurav Sen
Рет қаралды 1,9 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 41 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 60 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,1 МЛН
YouTube High Level System Design with @harkirat1 !!
35:02
Keerti Purswani
Рет қаралды 108 М.
Google Dremel: 1 TRILLION FILE READS in 10 seconds
16:06
Gaurav Sen
Рет қаралды 38 М.
Design a Fault Tolerant E-commerce System | System Design
8:17
Interview Pen
Рет қаралды 30 М.
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1,2 МЛН
Designing INSTAGRAM: System Design of News Feed
24:29
Gaurav Sen
Рет қаралды 641 М.
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 1,1 МЛН
UPI System Design Mock Interview with Gaurav Sen & @sudocode
37:10
System Design Interview: Design Uber w/ a Ex-Meta Staff Engineer
1:03:05
Hello Interview - SWE Interview Preparation
Рет қаралды 117 М.