UBER System design | OLA system design | uber architecture | amazon interview question

Sdílet
Vložit
  • čas přidán 10. 08. 2018
  • Systems design: What is the system design of the Uber App?
    Systems design: What is the architecture for the OLA?
    Systems design: What is the software design of the LYFT App?
    Arch diagram: imgur.com/a/c1Nkuvf
    Answer to all of the above questions is here, though I have explained much about Uber's system design, but for interviews you can adopt the same answer to all of the cab aggregation services question.
    Donate/Patreon: / techdummies
    Good reads:
    eng.uber.com/tech-stack-part-...
    eng.uber.com/tech-stack-part-...
    github.com/uber
    eng.uber.com/schemaless-part-...
    github.com/uber/RIBs
    eng.uber.com/mezzanine-migrat...
    github.com/confluentinc/kafka...
    highscalability.com/blog/2015/...
    www.bgr.in/news/this-is-how-go...

Komentáře • 565

  • @vaibhavbhardwaj2244
    @vaibhavbhardwaj2244 Před 3 lety +74

    Key takeaways :
    1. Web sockets must be used for such application as the communication is real time and lot of to-fro communication happens between client-server for which web sockets work the best
    2. the location update happens asynchronously using a queuing system like KAFKA , as this is a write heavy operation .
    3. Each location would map to a grid id on a 2D matrix and the location service would use the nearby cells on grid to fetch the drivers in vicinity.
    4. The APP servers are stored in a Ring (based on consistent hashing) and each APP server caters to different set of cells of the Grid. Each node knows about each other through config publishing mechanism and any call to any server would be redirected to the correct node

  • @divya-dj3pl
    @divya-dj3pl Před rokem +28

    This question was asked for me 15000 per month job as a fresher🙂

    • @mohit_hada
      @mohit_hada Před rokem

      In a startup right?

    • @pankajchaudhary5925
      @pankajchaudhary5925 Před 6 měsíci +1

      If you would have answered then you could have owned the startup at one point!

  • @mdalaminmahamud3775
    @mdalaminmahamud3775 Před 5 lety +26

    I really appreciate the amount of effort you have put for this system design talk. Thanks for sharing such valuable information in a short time span.

  • @vm1662
    @vm1662 Před 2 lety +12

    Binge watching the system design videos on this channel. This is pure gold and free on youtube for everyone to watch! Thanks a lot Narendra. You clearly put in a lot of effort making these videos.

  • @NilanshuSharma1
    @NilanshuSharma1 Před 5 lety +3

    Appreciate you taking stuff from real engineering blogs, instead of discussing a hypothetical design. Thanks for the effort!

  • @eruabid9190
    @eruabid9190 Před 5 lety +50

    Great content, laid out in a concise manner, appreciate the effort you put into making these systems design video series, keep it up.
    Cheers.

  • @antonyspiano2403
    @antonyspiano2403 Před 4 lety +7

    I saw you saying sorry, Boss you are a genius and selfless person. Never say sorry again. I get reminded of mistakes and never said a sorry. Great work!! and Thanks for making me love my job .

  • @javadoctor101
    @javadoctor101 Před 5 lety +3

    Currently watching every single system design video created by you..super useful and fun to watch! Keep'em coming..

  • @vivekchoudhary8745
    @vivekchoudhary8745 Před 4 lety +15

    this is gold, and the efforts and your persistence is beyond praiseworthy

  • @dhyanimation
    @dhyanimation Před 4 lety +5

    This is gold, I'm looking forward to how tech enables ground ops for mainstream products.

  • @PsychologyinTamil
    @PsychologyinTamil Před 5 lety +46

    Amazing work Mr Naren.

    • @arulanandhan6685
      @arulanandhan6685 Před 3 lety

      Hi Jithendra Sir, How would you know this guy? I'm a big follower of you and Naren.

  • @gavinchan1010
    @gavinchan1010 Před 5 lety +1

    Thank you so much for such an in-depth, but understandable explanation!

  • @dextermorgan1287
    @dextermorgan1287 Před 3 lety +5

    Few suggestions :
    1. Websocket is being shown as an API Gateway which is incorrect.
    2. Websocket comes with its own complications like failure on firewalls.
    3. In system design, we don't focus much on the implementation logic. Good that you explained concept of cell but that's not a very important piece. Thats more of a low level implementation.
    4. Support for NodeJs is partially correct. Java or C# can scale better than NodeJs in a multi threaded environment. Though Nodejs is fast to develop and deploy. But when threading comes there are better alternatives.
    5. Discussions should be more focussed around DB and type of DB choices with reasons.

  • @abisheksethuraman5910
    @abisheksethuraman5910 Před 5 lety +8

    This is so good! Insane amount of details. Thanks a ton for this.

  • @a1988ditya
    @a1988ditya Před 5 lety +7

    Great job man ... Appreciate the efforts

  • @tapasyayadav5148
    @tapasyayadav5148 Před 5 lety +6

    Thank you so much for such a super useful video, good explaination.keep up the good work.

  • @himanshugupta174
    @himanshugupta174 Před 5 lety +12

    Just amazing, I never saw this kind of clear explanation about the system design. Keep it up

  • @jayeshbaviskar
    @jayeshbaviskar Před 5 lety

    I have gone through many Design Explanation Video but I must say that This is the Best Uber Explanation Video I ever have seen.

  • @wycliffekogei1888
    @wycliffekogei1888 Před 4 lety +1

    One of the most important videos i have watched. It's simple and informative. I'll definitely check out the other videos.

  • @pursuitofcat
    @pursuitofcat Před 5 lety +2

    Great explanation man. The extent to which you went on to explain stuff.

  • @subhamhere
    @subhamhere Před 4 lety +1

    Cleared a interview with your system design approach , keep making videos

  • @dixonng8822
    @dixonng8822 Před 5 lety +1

    Good stuff, I was working on a prototype before but now it means there is more to it

  • @nagu890000
    @nagu890000 Před 4 lety

    Great content. I loved the clear explanation. This is going to be one of my favorite channels.

  • @DawonH
    @DawonH Před 4 lety

    It's just been a while since I opened the channel. Thanks to the good video, I learn a lot. Thank you. I will always support you.

  • @saritakhatun2731
    @saritakhatun2731 Před 4 lety

    I think U are 1st who providing confidential knowledge ....openly. Thanks I appreciate U.

  • @merylgabrielletubio5410

    I'm using Uber for my Data collection Map assignment. You're video is very helpful! Keep up the good work.

  • @yoganandaiyadurai9474
    @yoganandaiyadurai9474 Před 4 lety +1

    Very well explained and the clarity is so good. Thanks very much.

  • @babumon5351
    @babumon5351 Před 5 lety +24

    Thanks a lot..This is so complicated..wow..

  • @akashrajsingh4811
    @akashrajsingh4811 Před 4 lety

    Thanks a lot!! The way you put details into context is comendable

  • @mz7577
    @mz7577 Před 3 lety

    This video was just amazing bro . Got to learn about the depth of this huge complex system with ease. Thanks a lot.

  • @akshaybengani
    @akshaybengani Před 4 lety +1

    Thanks bro, for the information, I was actually thinking how can I imporve my mapping algorithm, your video is worth watching keep making such great content.

  • @VishalKurup
    @VishalKurup Před 4 lety

    Great video. Thanks for including links to your references. They are fascinating reads.

  • @debrajray1585
    @debrajray1585 Před 5 lety

    Thanks a lot for this video. Everything is explained well in detail and the video is very easy to follow. I watched it casually and gained so much knowledge :)

  • @sanjaysrivastava1100
    @sanjaysrivastava1100 Před 4 lety

    Huge .. this was huge , incredible and simple at the same time. Keep going !!👍👍

  • @UntamedRogueMavrick
    @UntamedRogueMavrick Před 5 lety +4

    Hi Narendra, Thanks a ton. I could understand the system design better and could get the job offer from the knowledge I got from this series. Thank you not only because of the help you did by posting all the videos on system design but also for helping me by answering my queries personally on the LinkedIn. I kept on browsing the youtube to find out some quality content, but here is the home of understanding almost all types of designs questions.

  • @NitinPatel-ld5qd
    @NitinPatel-ld5qd Před 4 lety +4

    Great content and lot of work Naren! Sincerely appreciate it. One thing I would like to suggest that we should call out how region servers are formed at the beginning and how the division and distribution of spherical earth is done across region servers shown in DISCO as part of the ring.

  • @ZzwhiskeybkszZ
    @ZzwhiskeybkszZ Před 5 lety +1

    We need more of this. Awesome content bro (y)

  • @Theeugeneedward
    @Theeugeneedward Před 4 lety

    Narendra, hats off to you! Your architecture presentations are world class. Your presentation and organization of material is excellent. Thanks very much for your great service!

  • @maninderbawa
    @maninderbawa Před 5 lety +1

    Really appreciate. Very knowledgeable video. Thanks for it. Keep doing such good work

  • @anandchiluka7611
    @anandchiluka7611 Před 2 lety

    Dude, this video is awesome. Thank you very much for sharing !

  • @vibhavgupta7562
    @vibhavgupta7562 Před 3 lety

    Hi Narain, you put in great effort in explaining the system. Your videos are amazing to learn architectures.

  • @razaarashid
    @razaarashid Před 4 lety

    Complete architecture is very well explained. Good work buddy!

  • @amt546
    @amt546 Před 2 lety

    Thank you for the clear and detailed description. Great effort 👏🏻

  • @madhurimadhu1004
    @madhurimadhu1004 Před 5 lety

    Wow what an explanation I'm searching for this kind of information from 4 days luckily I got it thank you so much

  • @zorbamossad4510
    @zorbamossad4510 Před 4 lety

    Respect dude ... You perfectly explained the Complex architecture. You mentioned right about the Data Backup smartly placed during operation failure in main Data Center. Kudos for your effort. Wish to see more from you :)

  • @MadanNeelapu
    @MadanNeelapu Před 5 lety

    Great work man. Very nice explanation. It definitely takes a lot of effort to put it together. Thanks for sharing.

  • @smanihwr
    @smanihwr Před 5 lety +1

    Thanks for the video. Excellent content!!

  • @splendidsite
    @splendidsite Před 4 lety

    Always had an interest about this system how it works. You explained it very simple way. Great presentation.

  • @nirajkaushal
    @nirajkaushal Před 5 lety +2

    Thank you so much for the useful explanation.

  • @arunmanglick
    @arunmanglick Před 4 lety

    This is great .. thanks a ton for sharing this so wonderfully and detailed. Highly appreciated .. Thank you so much.

  • @DataVids
    @DataVids Před 3 lety

    Fantastic , so many great concepts and very well organized presentation. I look forward to watching your other videos.

  • @exploreHeavenOnEarth
    @exploreHeavenOnEarth Před 5 lety +1

    Excellent explanation of all microservices.Superb job

  • @srikanta80
    @srikanta80 Před 5 lety

    Thanks for a wonderful explanation on the system design.

  • @MinhHTRAN-qs4wn
    @MinhHTRAN-qs4wn Před 5 lety +1

    Very helpful video, thank for sharing. Let's continue with another system design architecture ^^

  • @SanjayKumar-un7xf
    @SanjayKumar-un7xf Před 5 lety

    Really amazing, this system design is really great to handle Taxi Booking app
    Thanks for share a knowledge!

  • @namrathas5804
    @namrathas5804 Před rokem +1

    Thanks Narendra, this vlog was very helpful and thanks for your time and effort.

  • @krishnan30990
    @krishnan30990 Před 5 lety +11

    Hey man ! Very useful and nicely presented. I've started loving all your videos and have literally binge watched 'em all. In this video, I was also expecting you to cover up how Uber matches the pool rides .. basically a map route matching algorithm.. if you could brief on that, it would be very useful ! Thank you and wishing you huge success ahead !

  • @cheezburgerification
    @cheezburgerification Před 2 lety

    Nicely presented. Precise, articulate, and well structured.

  • @angiesartarchive
    @angiesartarchive Před 5 lety

    Detailed explanation! Awesome. Also LP t-shirt!

  • @bchewy
    @bchewy Před 5 lety

    Wow... amazing video and great effort in explaining all the concepts of a ride sharing system. Really gave me a new insight! 👍🏻
    Thanks for sharing!! 😁

  • @adityasarin16
    @adityasarin16 Před 4 lety

    Awesome explanation .. thanks a ton for sharing this. Explanation is so wonderfully done and so detailed... Highly appreciate the content you are publishing. You got another Subscriber :)

  • @jkuhede
    @jkuhede Před 3 lety

    Saw this video in 2018 and it looked so tough , coming back here with some knowledge it makes it look somewhat understandable like 60% I can grasp just by watching this video so please you younger lads and ladies don't get disheartened if you don't get it on the first try .

  • @TheRaviManikandan
    @TheRaviManikandan Před 2 lety

    Narendra, thanks for your insights on system design. It was one of the key sources that I referred and it really helped to get an SDM role with Amazon. Thanks a TON

  • @gouravkhatter2520
    @gouravkhatter2520 Před 3 lety

    Great work, I enjoyed this, keep covering more designs.

  • @gururajaraghavendrarao3362

    Very good and please continue the way how explain. Awesome

  • @sergeys6034
    @sergeys6034 Před 4 lety

    Thanks for breaking it down and taking time to make a video!

  • @dhruvenvora
    @dhruvenvora Před 3 lety

    You give best examples!

  • @steenproject
    @steenproject Před 4 lety

    Priceless content ! Many thanks bro !

  • @csaravanakumar9614
    @csaravanakumar9614 Před 5 lety

    Beautifully done with explaination...as network security guy It was so clear to me

  • @riteshthakur9064
    @riteshthakur9064 Před 3 lety

    subscribing to your channel to help you grow bro @techDummies . Unlike other tutorial videos, its clearly visible that you have done lot of work/effort to really learn the design yourself and teach your viewers.Cheers to you

  • @vedanthasm2659
    @vedanthasm2659 Před 2 lety

    One of the best Explanation!

  • @NitishSarin
    @NitishSarin Před 5 lety +4

    Damn, you are just so awesome. You will definitely definitely earn more and more subscribers, just like how Gaurav Sen did. You guys are what every developer on youtube needs. Thanks for the initiative! :)

  • @raulv5419
    @raulv5419 Před 4 lety

    brain storming , I liked the way you narrated design. I felt not required to street on analytics vs have use cases explained for entire request cycle
    Great JoB

  • @ayanbanerjee6137
    @ayanbanerjee6137 Před 3 lety

    Great stuff man ... Appreciate ur help

  • @aryan1875
    @aryan1875 Před 5 lety

    Thanks brother. Excellent presentation. U r gracing us with it knowledge

  • @ruhinapatel6530
    @ruhinapatel6530 Před 4 lety +1

    U made it look so simple..Thanks a lot..You've got a subscriber

  • @anujsfavouritesongs
    @anujsfavouritesongs Před 3 lety

    Thanks Naren !Wonderful Teaching.

  • @amiraljion6555
    @amiraljion6555 Před 5 lety

    Thank you for the great explanation!

  • @cloud4java
    @cloud4java Před 4 lety

    Great explanation for a very complex system. Congratulations!

  • @uchepowers
    @uchepowers Před 5 lety +1

    Thanks so much for this video, it is really valuable.

  • @Mike.e
    @Mike.e Před 3 lety

    Excellent video, thank you for making it!

  • @Simoni1203
    @Simoni1203 Před 5 lety +1

    Great overview. Thanks for the sharing.

  • @parasuramreddykalluri1024

    Super and highly recommended.Keep it up bro.

  • @ChiragGajiwala
    @ChiragGajiwala Před 4 lety

    Great content. Explanation was quite elaborative and very detailed. Kafka streaming was also quite clear and easy to understand the entire design.

  • @vjmathew6962
    @vjmathew6962 Před 5 lety +1

    Thank you very much brother...was searching these kind of explantnations.. Subscribed.

  • @Divinity1993
    @Divinity1993 Před 3 lety

    one of the best explanation i found on internet

  • @siddharthpandey8516
    @siddharthpandey8516 Před 2 lety

    Wow....just amazing! Thanks a lot!

  • @PaddleRock
    @PaddleRock Před 5 lety

    Great explanation - thank you!

  • @asankaw1557
    @asankaw1557 Před 4 lety

    Great video! such a good explanation, thanks for sharing.

  • @mallikarjunb6143
    @mallikarjunb6143 Před rokem

    Nice and Simple presentation. Thanks a lot for this topic and a lot of details. Well, thought of a video. I was able to easily grasp it.

  • @nickwithattitude
    @nickwithattitude Před 2 lety

    you are amazing, thank you for this, love the passion. keep it up

  • @k.manideep2543
    @k.manideep2543 Před 5 lety +1

    Mouthful of information...Thanks for sharing the knowledge...it helped me a lot...Keep sharing more videos like this.

  • @1987laba
    @1987laba Před 2 lety

    This is awesome brother! thanks a lot!

  • @ooxaam4169
    @ooxaam4169 Před 2 lety

    Great work bro, keep making such content

  • @swapnila202
    @swapnila202 Před 5 lety +1

    Awesome explanation... Thank You 😊

  • @anastasianaumko923
    @anastasianaumko923 Před rokem

    Amazing job! You are a rock star in the System Design 🤩😎🎵

  • @manjushamanjusha
    @manjushamanjusha Před 5 lety

    Really useful for interviewing. Thank you :) :) :)

  • @alonbrim
    @alonbrim Před 2 lety

    Great video! Thank you very much!

  • @sreeramv112
    @sreeramv112 Před 5 lety

    Very useful! All the very best!