Uber/Ola Low Level System Design explained with CODE, UML Diagram | Easy & Detailed Explanation!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 147

  • @Shivam_Varshney13
    @Shivam_Varshney13 หลายเดือนก่อน +1

    All the effort you put in to explain all these concepts is just beyond amazing and makes learning so much easier!

  • @sahenamaharjan6167
    @sahenamaharjan6167 5 หลายเดือนก่อน +1

    One of the best LLD videos I have watched so far! Thank you.

  • @cricketguru7596
    @cricketguru7596 ปีที่แล้ว +2

    It's gives me atmost satisfaction as I understood this video very well❤❤❤

  • @vaibhavagarwal3757
    @vaibhavagarwal3757 10 วันที่ผ่านมา

    Its better if you provide the explanation of the requirements first, before solving the problem.
    But the way you are explaining is great, thanks for such great content.

  • @AdityaShenoy-fu3uw
    @AdityaShenoy-fu3uw 7 หลายเดือนก่อน

    My quest for the best LLD tutorial concludes here

  • @chaynnittagarwal3215
    @chaynnittagarwal3215 3 หลายเดือนก่อน

    Excellent video. This is like first video I have seen on design and you made it look so easy. I know the effort behind, really appreciate it !!

  • @swatiacharya9073
    @swatiacharya9073 ปีที่แล้ว

    Amazing keerti... understood the lld first time... but a request... explain it slowly...its very fast

  • @shaikhanuman8012
    @shaikhanuman8012 5 หลายเดือนก่อน

    Best Low Level Design Tutorial Thanks for clear-cut explanation.

  • @omidsaghatchian7502
    @omidsaghatchian7502 10 หลายเดือนก่อน

    Thank you for the insightful video on design systems. I appreciate the clarity in your explanation. I'm curious about the "pricing calculation
    " process after selecting a driver. In the typical scenario, a rider selects the origin and destination first and then would like to see the corresponding fare before confirming the trip request. It seems intuitive to have the pricing information available at this stage, and then proceed to assign a driver once the rider confirms the trip. I understand this may involve simplification, but it seems crucial to treat pricing as an independent factor from the driver assignment.
    However, I acknowledge my perspective might be influenced by the absence of Uber in Iran, where the services we utilize may follow a different implementation approach. If my understanding is incorrect, I would appreciate any clarification on this matter. Thank you again for the informative content.

  • @abymathew575
    @abymathew575 ปีที่แล้ว +5

    Thanks, Keerti for creating this excellent video with the entire thinking flow with a coding sample. Really appreciate your time and effort behind such a great video. Expecting more from your channel.

  • @gvsai543
    @gvsai543 ปีที่แล้ว

    Thank you so much keerthi. I had several doubts in lld, this video cleared almost all of them.

  • @mugeethl6036
    @mugeethl6036 5 หลายเดือนก่อน

    Thanks for the wonderful explanation, please keep on posting more videos and playlist related to LLD , design patterns, HLD with proper roadmap from scratch to end in order.

  • @people_07
    @people_07 ปีที่แล้ว

    thank for creating these excellent LLD,with such effort

  • @amitgupta-or5nm
    @amitgupta-or5nm ปีที่แล้ว

    Hi Kreeti great work , I have watched all LLD videos they are very well explained , I really appreciate yr time and effort.

  • @gautambhateja
    @gautambhateja หลายเดือนก่อน

    Very understandable video. Super helpful.

  • @Android-terms
    @Android-terms 11 หลายเดือนก่อน

    There are many LLD questions on the basic features of large systems like WhatsApp(How to manage users, send messages, receive messages, and manage groups), Facebook, and Twitter.
    Please help us by making videos on that too by covering the basics of those.
    It will be really beneficial for us.

  • @shrutimath3330
    @shrutimath3330 10 หลายเดือนก่อน

    Thankyou for such amazing explanation .Apreaciate the hardwork you have put

  • @shaziakaleem1895
    @shaziakaleem1895 5 หลายเดือนก่อน

    Super helpful. Thank you for putting in all the effort to create this.

  • @rajarayavarapu2167
    @rajarayavarapu2167 ปีที่แล้ว

    Greatttttt please dont stop this series

  • @rishiraj2548
    @rishiraj2548 3 หลายเดือนก่อน

    Excellent work. Kudos and thanks.

  • @Ranjanram1
    @Ranjanram1 2 หลายเดือนก่อน

    I really appreciate ur work and effort u put to make video sis , I think ur channel stands out unique compared to others where others r teaching abt only a particular language, ur focusing on smtg which is more imp and unnoticed,where many youtubers won't cover , thanking you 🎉❤for ur efforts ur putting to make quality content for us , love frm Bangalore

  • @gxo-mt5vo
    @gxo-mt5vo ปีที่แล้ว

    I love your attitude. Thanks for the video!

  • @YogaJournalWithMimansa
    @YogaJournalWithMimansa 4 หลายเดือนก่อน

    Such an informative video, Thanks Keerti !!

  • @shankarBinnar-xl8en
    @shankarBinnar-xl8en ปีที่แล้ว

    thanks keerti !! this very interesting and important topic .
    really help to understand the concept and LLD design flow...🤩

  • @kudaykumar1261
    @kudaykumar1261 ปีที่แล้ว

    Thank you so much Keerthi It's a really nice explanation.

  • @luxauto7065
    @luxauto7065 8 หลายเดือนก่อน

    Thanks for taking the time and doing this video. It is very interesting and informative.
    But can you please slow down a little bit when you are talking.
    Thanks

  • @hottroddinn
    @hottroddinn 9 หลายเดือนก่อน

    This is excellent! Thank you for creating this video.

  • @niwanshumaheshwari4534
    @niwanshumaheshwari4534 ปีที่แล้ว

    Thank you, no one explained LLD the way you did.

  • @heertheesh
    @heertheesh 9 หลายเดือนก่อน

    This is so helpful. Thanks for the video Keerti

  • @rahulrahul-cm4mn
    @rahulrahul-cm4mn ปีที่แล้ว +4

    Wow ! Keerti- great work

    • @er.vijayjoshi6624
      @er.vijayjoshi6624 ปีที่แล้ว +2

      Excellent contribution. Please keep it up
      कभी महक की तरह हम गुलों से उड़ते हैं
      कभी धुएं की तरह पर्वतों से उड़ते हैं
      यह क्या उड़ने से ख़ाक रोकेंगे
      कि हम परों से नहीं हौसलों से उड़ते हैं

  • @rajenderprasad1193
    @rajenderprasad1193 ปีที่แล้ว

    This is really amazing.. thank you Keerthi..

  • @krishnamurthymadaraboina1556
    @krishnamurthymadaraboina1556 8 หลายเดือนก่อน

    this video is very good, lot of videos only describe but will not show in coding.

  • @biswajyoti.
    @biswajyoti. ปีที่แล้ว

    dedication what it is!! Hats off to u di

  • @GulshanKumar-jg8xs
    @GulshanKumar-jg8xs 5 หลายเดือนก่อน

    Amazing video. Described very well.

  • @renuroy4826
    @renuroy4826 ปีที่แล้ว

    Thank you so much Keerti for putting so so much efforts in the videos. ❤. Keep growing and Glowing !

  • @kritirohilla021
    @kritirohilla021 ปีที่แล้ว +1

    Thank you for this amazing video. Which IDE are you using for building and running this project ?

  • @himanshutanwani_
    @himanshutanwani_ ปีที่แล้ว +1

    Finally, was waiting for this!

  • @sagarsondur
    @sagarsondur ปีที่แล้ว

    Amazing Explannation
    loved this

  • @jayandrapatil
    @jayandrapatil 11 หลายเดือนก่อน

    Super highly appreciated the efforts.

  • @chandanapriyak2172
    @chandanapriyak2172 ปีที่แล้ว

    please also show us on how you are building the code in the end. That would be helpful

  • @shubhamgoyal9556
    @shubhamgoyal9556 ปีที่แล้ว

    Amazing content, Keerti. So helpful.

  • @AnkitaDhiman-y6c
    @AnkitaDhiman-y6c 8 หลายเดือนก่อน

    This is so helpful mam, Thanks a lot for the efforts:)

  • @code_minion_123
    @code_minion_123 8 หลายเดือนก่อน

    Improv: Builder patterns can used for the Metadata or other Objects instead of Constructor parameters.

  • @mohammedmoosamr4052
    @mohammedmoosamr4052 ปีที่แล้ว

    Thank you dear for your efforts god bless you ❤❤

  • @NavyathaTarun
    @NavyathaTarun ปีที่แล้ว

    Very nicely explained and implemented Keerti! Thanks for sharing!

  • @rakeshkumarsm9900
    @rakeshkumarsm9900 ปีที่แล้ว

    Great Work please make a video on low level design of CRED app

  • @PushpSoodSde
    @PushpSoodSde 11 หลายเดือนก่อน

    I don't think Strategy Manager has to be singleton! But overall great explanation :)

  • @VIKASHKUMAR-mn6cs
    @VIKASHKUMAR-mn6cs ปีที่แล้ว

    Loved the video and the word Hotch Motch😊

  • @khushbooverma
    @khushbooverma ปีที่แล้ว

    Loved the content and the way you explained. Please continue creating more such content. ❤

  • @utkarshranjan7903
    @utkarshranjan7903 ปีที่แล้ว

    Trip Manager should have a composition relationship with RiderManager, but an aggregation with Driver Manager, because a trip is created only if a rider is there. It's like a body can be there only if eye is there. Rider is totally a part of the trip, particularly when rider is creating trip. Although I think this should be true for the limited functionality that we discussed right now. Maybe for more expansion its better to have an aggregation relationship with rider manager as well

    • @AsliArtist
      @AsliArtist หลายเดือนก่อน

      Its a design problem, theres no ONE right answer.

  • @Alagu1210
    @Alagu1210 ปีที่แล้ว

    Thanks for the detailed explanation

  • @aditijain2524
    @aditijain2524 ปีที่แล้ว

    Very nice content created. Kindly prepare videos like this in detail since I had seen your mock interview videos earlier they were not much in depth and in real interviews , interviewers ask in detail

  • @DSAShyam
    @DSAShyam ปีที่แล้ว

    Excellent video Keerti..

  • @basavarajsonnad5775
    @basavarajsonnad5775 ปีที่แล้ว

    Great content. Very helpful.

  • @sajaljain3610
    @sajaljain3610 3 วันที่ผ่านมา

    i think trip manager has strategy manager to decide price and driver mantching strategy , is it missed in class diagram of tripmanager to add private instance of strategy manager ?

  • @Md_sadiq_Md
    @Md_sadiq_Md ปีที่แล้ว +3

    I really appreciate the amount of work you have put into it so I shared in my group
    Hey could you please provide the code in java
    Please 🥺

  • @asmitamishra4965
    @asmitamishra4965 ปีที่แล้ว

    What a nice explanation.

  • @aman2497
    @aman2497 ปีที่แล้ว

    Superb video, can see the work gone behind it.
    One tweak could be having a TripRequest class that has status: {pending, accepted, in progress, completed, cancelled} etc and when the driver accepts, it creates a Trip object and returns it.

  • @sandeepsack
    @sandeepsack ปีที่แล้ว +1

    Thanks for putting a lot of effort in making UML diagrams as well as clearly explaining thought process behind chosing class relationships & Also, for explaining how to make design scalable and extensible in case if we need to add different strategies for driver matching and price calculation.
    BTW, this is my first youtube comment ever. Thanks Again!!!!

  • @JinilSasidharan
    @JinilSasidharan 6 หลายเดือนก่อน

    @KeertiPurswani Thanks so much♥ Is the manager class same as service class we use in Spring Boot?

  • @vidhigupta5591
    @vidhigupta5591 4 หลายเดือนก่อน

    Thanks nice content. Do we have separate video for strategy design pattern?

  • @snowy_56524
    @snowy_56524 ปีที่แล้ว

    I love the intelligent lady ❤

  • @akasnani3464
    @akasnani3464 ปีที่แล้ว +1

    Nice explanation

  • @aritrasadhukhan5674
    @aritrasadhukhan5674 ปีที่แล้ว

    Great work!!

  • @sureshpoosarla9877
    @sureshpoosarla9877 ปีที่แล้ว

    Thanks keerthi for an excellent video. It was very helpful as we used to see many video with explanations but not this much detailed explanation with code and UML. Please add more designs like this with code and UML. Hats off to you for your contribution

  • @alokkamat9150
    @alokkamat9150 ปีที่แล้ว

    This is so so helpful. Thanks Keerti for making this kind of video. Now you have responsibilty of making such more videos.

  • @shivankchopra8552
    @shivankchopra8552 ปีที่แล้ว

    Thankyou for the effort! 🙏🏼😀

  • @AshwiniYeokar
    @AshwiniYeokar 5 หลายเดือนก่อน

    We have different cars,auto avaible over uber and ola both, that we need to mention in this , right ?

  • @shrishtigupta6902
    @shrishtigupta6902 ปีที่แล้ว +1

    Hi Keerti,
    Thanks for the video. It was super clear.
    I just had one doubt. Why do we need an instance of riderManager and driverManager in TripManager. I see those instances are not being used anywhere in the TripManager class.

  • @nitinsachdev4437
    @nitinsachdev4437 2 หลายเดือนก่อน

    Why are we maintaining hashmap of riders & drivers objects at code level? When the driver assignment happens wont this be at DB level?

  • @adithyakramesh6132
    @adithyakramesh6132 10 หลายเดือนก่อน

    Nice video. Would it be possible to have the code for the same in Java?

  • @nishantdehariya5769
    @nishantdehariya5769 10 หลายเดือนก่อน

    are the maps inside all the above singleton classes thread safe? if not,
    we might have to have mutex lock before setting the value inside map& then unlock right
    ?

  • @kapilchoudhary2922
    @kapilchoudhary2922 ปีที่แล้ว

    Mind blowing explanation, best content ever found on LLD so far, really liked the flow of your explanation....overview, UML class diagram and then code. Thanks Keerti!! ✨

  • @RamBhakt__
    @RamBhakt__ ปีที่แล้ว

    Thank you so much for this video

  • @shaktirajput4711
    @shaktirajput4711 5 หลายเดือนก่อน

    Thank you for such videos💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌💌

  • @av21015
    @av21015 ปีที่แล้ว

    Great explanation, I just assumed that we send requests to nearest drivers and pricing is all based on km travelled. so I didn't get into this pricing strategy and driver strategy, but its a good thing to demonstrate in an interview.

  • @chandnibhatia1211
    @chandnibhatia1211 ปีที่แล้ว

    Thanks for the session, its amazing !But quad ka explanation kidhar h ...

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว

      Channel kholke dekha toh karo 🫢
      Here’s the link. Hope you like it ❤️
      th-cam.com/video/kClPBNmTCf0/w-d-xo.html

  • @ravinapit2817
    @ravinapit2817 5 หลายเดือนก่อน

    Thanks, nice content❤

  • @AnupamNirwan-i5q
    @AnupamNirwan-i5q ปีที่แล้ว

    Thank you so much, Keerti. What an amazing video. Your thoughts and efforts are absolutely visible. It cleared so many of my concepts and doubts, at the same time, helped me a lot with my confidence for the interviews and LLD rounds. Subscribed and definitely gonna share this video and your content with others. Big thumbs up.

  • @shubamgoswami
    @shubamgoswami ปีที่แล้ว

    Attendance marked . This content is better than paid courses that white board is worth ❤️. Going replay to the same comment when i complete the whole video ❤️

  • @MoniHazarika-oc7xs
    @MoniHazarika-oc7xs 7 หลายเดือนก่อน

    amazing video!

  • @vm1662
    @vm1662 11 หลายเดือนก่อน

    Thanks Keerti for yet another amazing video.
    I have a noob question:
    The RiderManager was created with a single instance. I suppose that is a single instance for each host (assuming we will have the code deployed in multiple hosts). How do we manage those multiple single instances from each host working on a single or multiple DB? Thanks in advance.

  • @beginnerspoint1612
    @beginnerspoint1612 ปีที่แล้ว

    Please make some more on lld 😊

  • @SeemaKumari-xv6dc
    @SeemaKumari-xv6dc ปีที่แล้ว

    Thanks for the video. It's very informative and good. One request though. Can you please create a playlist for all the design patterns?

  • @vinodpaluvuri54
    @vinodpaluvuri54 ปีที่แล้ว +1

    Hi Keerti, when it is a coding problem, I will try to find solution to it whereas for system design i dont know what i am doing and also, it's not right if I just do as you do by mugging up.. Please help in understanding how can I gain confidence in system design things

  • @akhilsharma1778
    @akhilsharma1778 ปีที่แล้ว

    Keerti Rocks

  • @rohit_kapdi
    @rohit_kapdi ปีที่แล้ว

    Nicely done. Thanks. Very much informative and brainstorming.
    We can decide to do Strategy run time, may be based on timing or location. That would be nice.

  • @JohnSnow-gi7iv
    @JohnSnow-gi7iv 11 หลายเดือนก่อน

    where do we use these classes and create this structure while building the product? FE? BE? or this is just some theory stuff that is never used in actual implementation?

  • @sarthakjain645
    @sarthakjain645 3 หลายเดือนก่อน

    I think you did not use riderMgr and driverMgr in your tripMgr at all, can we skip it in UML too?

  • @soumik76
    @soumik76 9 หลายเดือนก่อน +4

    If trips cannot exist without TripManager and you are making that a composition, then why can't we say the same thing about RiderManager? Riders cannot exist without RiderManager as well. I am unable to clearly understand what's the difference between the relationships of Trip-TripManager versus Rider-RiderManager.

    • @Chronicles365
      @Chronicles365 หลายเดือนก่อน +1

      So there can be a case where the Riders can exist without the rider manager totally based on the requirement of the system needed, that's why she used aggregation relationship here
      Otherwise if there is a requirement that the rider and driver *CANT BE CREATED* without a Rider or driver manager then these should be the composition relationship
      Timestamp: 7:20

  • @anuragkumar2735
    @anuragkumar2735 4 หลายเดือนก่อน

    @keerti You mentioned all the managers should be singleton across all trips, I believe all the manager should be singleton for a particular trip instead of all trips. please correct me if I am missing something here.

  • @aditya-9727
    @aditya-9727 4 หลายเดือนก่อน

    @23:30 Hey Keerti,
    There is relationship between TripManager to StrategyManager so don;t u think the relationship between StrategyManager and TripMetadata is redundant?

  • @BhavikaRajani
    @BhavikaRajani ปีที่แล้ว

    Keep up the good work

  • @Manishkumar-el1vz
    @Manishkumar-el1vz ปีที่แล้ว

    An excellent LLD video; I appreciate the work
    Small Doubt: why are we passing pricingStartegy and driverMatchingStartergy pointers to the Trip class?
    In what scenarios these instances of strategies are needed in Trip class.

    • @AsliArtist
      @AsliArtist หลายเดือนก่อน

      She is assuming that the pricing strategy and driver matching strategy will vary with different trips. This is a little albeit to the real Uber implementation where these strategies are independent and vary based on the geolocation and timing of the trip request.
      Its a design problem, theres no ONE right answer.

  • @swatikhilrani8280
    @swatikhilrani8280 ปีที่แล้ว

    Keep it up beta 👍👍

  • @DivyanshRana265
    @DivyanshRana265 25 วันที่ผ่านมา

    Why is trip manager creating rides or accepting rides? Shouldn't riderMgr be requesting rides, and the driverMgr be accepting rides?

  • @ashkumar8797
    @ashkumar8797 7 หลายเดือนก่อน

    Thank you so much

  • @tarunkumaracharya8047
    @tarunkumaracharya8047 ปีที่แล้ว

    What does the mtx:mutex represent in the above uml?

  • @pratyushprateek2503
    @pratyushprateek2503 ปีที่แล้ว +1

    Nice explanation and use of those design patterns !
    One question, why do we have a strategy for matching of drivers to riders? In actual scenario, it is upto the drivers in that region to accept the user's trip or not right? The ride request of the user is sent to all the drivers in that bounded region where the user has to start the trip I believe.
    To emulate in this LLD, we can maybe use a mediator for communication of a ride request to all drivers nearby, and whichever driver accepts the trip request, we again use the mediator to inform the owner of the ride request, i.e, the rider. How does that seem?
    Waiting for your feedback !

  • @ujjwalshrivastava2437
    @ujjwalshrivastava2437 ปีที่แล้ว

    Flawless