How to Design Microservices Architecture? Uber Architecture - A Case Study | Tech Primers

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • This video covers how to design microservices architecture. This shows the Uber's Monolith Vs Microservices Architecture
    📌 Related Playlist
    ================
    🔗Spring Boot Primer - • Spring Boot Primer
    🔗Spring Cloud Primer - • Spring Cloud Primer
    🔗Spring Microservices Primer - • Spring Microservices P...
    🔗Spring JPA Primer - • Spring JPA Primer
    🔗Java 8 Streams - • Java 8 Streams
    🔗Spring Security Primer - • Spring Security Primer
    🔗Containers Primer - • Containers Primer
    🔗Kubernetes Primer - • Kubernetes Primer
    🔗AWS Primer - • AWS Primer
    💥Join TechPrimers Slack Community: bit.ly/JoinTec...
    💥Telegram: t.me/TechPrimers
    💥TechPrimer HindSight (Blog): / techprimers
    💥Website: techprimers.com
    💥Slack Community: techprimers.sl...
    💥Twitter: / techprimers
    💥Facebook: TechPrimers
    💥GitHub: github.com/Tec... or techprimers.gi...
    🎬Video Editing: iMovie
    🎼Background Music: Broke For Free - Day Bird
    brokeforfree.b...
    ---------------------------------------------------------------
    🔥 Disclaimer/Policy:
    The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
    You are free to use the code samples in Github after forking and you can modify it for your own use.
    All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
    #Microservices #CaseStudy #TechPrimers

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

  • @dev-skills
    @dev-skills 5 ปีที่แล้ว +12

    Importance of resiliency for every micro-service to deal with cases when other services are unavailable is very well emphasized.

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

    Man, You are a master of every subject you talk about. Keep up the nice work

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

    Good job, now I have a clear view on how microservice architecture is deferent from Monolithic architecture from this Uber example. Thank you

  • @gurjarc1
    @gurjarc1 6 ปีที่แล้ว +19

    good intro. Independent scalability and deployment are key things. It would have been good if you stressed each micro Service has its own data store rather than sharing (i see many corporate writing micro services with shared DB which kills independ deployment and scaling)
    Also Your topic did not cover how these individual microServices communicate with each other. How does Driver Service let passenger microService the location of the cars .. Actually in Uber, they use Kafka for uber scale real time messaging.

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

    Very nicely presented with a perfect example. I have spent time on other videos, but all were showing the bookish definition of microservices... with your video, anyone can understand about this in one shot. Thank you, will wait for more videos. The data store (mysql) part was not clearly explained in microservice part.

  • @lukealadeen7836
    @lukealadeen7836 2 ปีที่แล้ว

    Best explanation on the topic I've seen, I had to subscribe. Thanks!

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

    An easy and simple explanation, well done!

    • @TechPrimers
      @TechPrimers  5 ปีที่แล้ว

      Thank you. Glad that was helpful!

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

    BG music little disturbing, please take care it. Thanks for ur Knowledge sharing

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

    Thanks a lot for sharing a real use case

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

    Great tutorial. Can you please do additional break downs of other platforms like Instagram, Netflix etc on how they employ microservice architecture. Thank you in advance

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

    Very good explanation on the concept of Monolithic and Microservices. Keep up the good work Thank you!

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

    Thank you for free education

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

    Nicely Explained

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

    If you're hosting your services on Aws for example, would each micro service seat on it's own EC2 instance?
    Someone should please link me to a video that explains how to go about the hosting of the different microservices and how to manage redundant server cost after creating the microservices

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

    Excellent. Clear and precise.

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

    Got a basic idea. Waiting for your next video to learn how exactly we should handle the system failures.

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

      Sure Hemendra. Meanwhile you can check my videos on Hystrix (which is a design pattern for circuit breakers)

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

    Thanks Ajay for making us understand micro service architecture

  • @PP-ct4kd
    @PP-ct4kd 6 ปีที่แล้ว +9

    Neat and clean and informative

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

    very nice video my friend .....
    its is so unique to watch

    • @TechPrimers
      @TechPrimers  5 ปีที่แล้ว

      Thank you. Glad that was useful!

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

    This was a good video on architecture man. bravo

  • @usmanahmad8995
    @usmanahmad8995 3 ปีที่แล้ว

    Pronunciation of billing is awesome 😂

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

    Thank you, Bhai! For that clarity! Thank you a lot!! Can you also speak about Instagram and Netflix architecture?

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

    Hello Thanks, please provide guide for how to design architecture for User management, word processor and media manager Micro services?

  • @yesubabu2880
    @yesubabu2880 2 ปีที่แล้ว

    Why the Ui calls r not gng thr api gateway- regarding passengers web UI, and Psngr web Ui is directly calling the passenger management api with out api gateway? Is this the right screenshot from Uber?

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

    how do we design realtime geolocation tracking like uber does. how kafka and mongo are integrated. please post something on that.

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

    Excellent one for understanding

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

    excellent efforts

    • @TechPrimers
      @TechPrimers  3 ปีที่แล้ว

      Glad it was helpful 👍🏻

  • @geekaffairs6475
    @geekaffairs6475 3 ปีที่แล้ว

    Why the API gateway is only for clients and not for internal services?

  • @SagarHingalAI
    @SagarHingalAI 4 ปีที่แล้ว

    Thanks for the video!

  • @rakeshroshan829
    @rakeshroshan829 5 ปีที่แล้ว

    Good consolidated explanation of microservice. Microservice is individual and autonomous service. Can u please make a video on JMS and MQ, when go for JMS or MQ

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

    nice explanation. thanks...

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

    Nice!! and Thanks!

  • @Virat77799
    @Virat77799 7 ปีที่แล้ว +6

    Waiting for ur spring boot app microservices video,also please explain how database is involved in microserices application in ur next example

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

      Sure shabarish. Will ping you once the video is ready

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

    Can you explain how you manage the databases in microservice architecture because one service depends on other service for data etc.

  • @dhananjaypitani7818
    @dhananjaypitani7818 4 ปีที่แล้ว

    thanks very helpful!

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

    Thank you very much. This is giving me good understaning of micro sevice architecture. The use case example is good. Can you please create another video describing disadvantages of this architcture

  • @venkatasubbareddy.g2283
    @venkatasubbareddy.g2283 5 ปีที่แล้ว +2

    Hi bro, can u upload the one simple project on angular js with spring MVC, boot,microservices, hibernate with MySQL db. Waiting for Ur response

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

    Nice tutorial! keep it up...

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

    7:20 How else do you think such scenarios should be covered? If billing is down, it cannot directly interact with the user and tell that the billing service is down. It has to tell the trip management that it is down and the trip management will convey the same message to the user.

    • @TechPrimers
      @TechPrimers  5 ปีที่แล้ว

      Correct. You can display that Bill has not generated or bill Service is down for maintenance. And in the background you can actively monitor using alerts and fix it to reduce direct impact

    • @eshwarm9214
      @eshwarm9214 3 ปีที่แล้ว

      @@TechPrimers In Resiliency FailOver needs to be handled properly (or more replication needs to be taken care)and if you have large number of transactions then needs to ensure offline handling or queueing mechanism. Resiliency standard says, 99.99999% your system should be up and running. If the system fails then atleast piping it for the later processing so that things will be in place.

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

    nice video... very well explained..

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

    your content is great, but the background music is stressful. I couldn't finish the video.

  • @nileshmunnur573
    @nileshmunnur573 2 ปีที่แล้ว

    I am building a containerized web application that has a .net frontend container and a REST Api backend container.
    I'd like to know which of these options is the best for our needs:
    · Deploy everything in the same cluster and node pool and let kubernetes manage and scale them as needed
    · Deploy everything in the same cluster and 2 different node pools with different machine types and node limits for frontend and backend
    · Deploy frontend and backend in different clusters all together with a single node pool each

  • @ghanshyam014
    @ghanshyam014 4 ปีที่แล้ว

    Thanks bro..... It's really helpful
    Please make more videos for dotnet developer based on micro services and docker...😊

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

    Very helpful

  • @bimalkumar712
    @bimalkumar712 5 ปีที่แล้ว

    Nice one..
    Can you please make a video on how to implement transaction across microservices.. thanks in advance

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

    In micro-service architecture diagram where is the mysql adpater?

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

    Another one from Martin Fowler is also worth watching

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

    What about database connection in this updated microservice architecture ? How intra components shares each data?

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

      i havent shown that in this video Prasath. Ingeneral every microservice wil hav its own DB.

  • @PadamAgrawal
    @PadamAgrawal 5 ปีที่แล้ว

    Could you please create Micro services architecture for POS, or Amazon Repricer or Health (gym) marketplace .... Thank you so much for such informative video...

  • @karthikeyansekar4342
    @karthikeyansekar4342 4 ปีที่แล้ว

    Hi Team, Can you post the video for converting from Legacy system to Microservices using Java Hands-On implementation

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

    very good video.

  • @rajasekharks
    @rajasekharks 6 ปีที่แล้ว

    Where is the database in microservices shown? Are they split or they all connect to same database?

  • @JuanTorres-jn4qu
    @JuanTorres-jn4qu 4 ปีที่แล้ว +1

    Excellent video. Which software you use to design those architectures?

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

      Google slides

    • @JuanTorres-jn4qu
      @JuanTorres-jn4qu 4 ปีที่แล้ว

      @@TechPrimers Thanks. The design looks really cool and easy to explain.

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

    Thank you so much

  • @dileepbalineni
    @dileepbalineni 5 ปีที่แล้ว

    Hi bro nice video
    I am new to micro services and containers. I am able understand most of the concepts of micro services and containers but am unable apply these for my project it would be great if you can help me out

  • @saifeddinebargui8360
    @saifeddinebargui8360 6 ปีที่แล้ว +6

    Hello thx 4 the Video, can u bild an application using this Technologie: Eureka, Zuul, Ribbon, Hystrix, FeignClient + OAuth 2.0, SpringDate ?

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

    Thanks man :)

  • @basavaprabhusr9930
    @basavaprabhusr9930 2 ปีที่แล้ว

    Can I get code for designing Uber microservices architecture

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

    Hello , I need to know if there is any industry standard to follow on how to split a monolithic application. Kind of guiding principle.

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      Hi Shanti, there is no industry standard explanation, but you can check 12 factor app or cloud native design principles for creating microservices design pattern

  • @mamathas3770
    @mamathas3770 6 ปีที่แล้ว

    Would you able to suggest to use micro services for banking transaction ? like a message coming from POS termina , parse the message , validate and pushes to Issuer ?

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      Yes Mamatha, all banks are moving towards microservices architecture. But we need to know the pros and cons of microservices before going into a big bank microservices arch.

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

    Can you do complete end to end series on spring boot, spring data, angular with microservices
    It will be really helpful

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

      Sure Avinash. Will ping you once the video is ready

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

      Bwt really helpful video
      & Excellent high level explanation

  • @azharmobeen
    @azharmobeen 5 ปีที่แล้ว

    Thanks for sharing

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

    Please remove the background drum music while you're talking. It is a bit distracting tbh.

  •  3 ปีที่แล้ว

    Hello, I would like to know what software was used to create this diagrams

    • @TechPrimers
      @TechPrimers  3 ปีที่แล้ว

      It was google slides

    •  3 ปีที่แล้ว

      ​@@TechPrimers I mean the arquitectural diagram of the microservices

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

    Thanks

  • @GauravSharma-wb9se
    @GauravSharma-wb9se 6 ปีที่แล้ว +1

    I have a doubt here i.e. API Gateway is not involved if request is coming from web UI ?...web UI is browser only if i am not wrong.
    So API Gateway is only for the mobile apps ?

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      API Gateway will be the entry for all requests, UI+Mobile apps.

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

    On which platform you have the diagrams

  • @AndreasFelix
    @AndreasFelix 5 ปีที่แล้ว

    The interessing part how the micro services connect to the database was not in the micro service structure.

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

    It's very helpful... could you please explain some with real time examples

    • @TechPrimers
      @TechPrimers  7 ปีที่แล้ว

      Sure Ragesh. I'm going to do that. Meanwhile you can check my other videos on Live Coding where i have showed how to create microservices with Zuul, Eureka, etc.,

    • @rageshsharma4368
      @rageshsharma4368 7 ปีที่แล้ว

      Tech Primers ya sure.. thanks..

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

    Why not use RPC for internal service calls? RPC will make system work faster.

    • @kgehmlich
      @kgehmlich 4 ปีที่แล้ว

      It's not uncommon for APIs that start off internal to be made public, e.g. for clients to build custom workflows around your service. Starting with a RESTful design can make it easier to open up the API down the road.

  • @rockyboy976
    @rockyboy976 6 ปีที่แล้ว

    Fantastic video. I have just one quick question if its okay. Is there a way I can find out if a website is built on a monolithic or microservice architecture by reviewing the source code for example.....or any other way?

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

      no you cannot. In general companies have API gateway which exposes only 1 server to the UI. Hence you cannot differentiate between monolith and microservices

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

    nice content man!
    did you work at uber before? or did you go to the uber blog engineering for this?

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      Thanks mate. I attended a Meetup Session in that the instructor showed the Uber architecture. Also i saw the uber engineering blogs. Btw, I have not worked with Uber

    • @abkyabacha
      @abkyabacha 6 ปีที่แล้ว +6

      This is a straight-up example from a book on microservices by Chris Richardson. Here you go: www.nginx.com/blog/introduction-to-microservices/

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

      this link is nice, thanks dude

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

    I'm Also waiting for mircoservice architecture implementation

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      Hi Sunil, you can check that video here - th-cam.com/video/rlS9eH5tEnY/w-d-xo.html

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

    Thnx Ajay

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      my pleasure Dhananjaya

  • @mytool3132
    @mytool3132 6 ปีที่แล้ว

    Hi is Microservices Architecture a good approach for a survey application (online or offline data collecting, statistics and report generation , web , desktop and mobile end users, etc...)

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

      Its upto your size of the application. we cannot generalize saying its good or bad.
      I would suggest start with monolith. If you are not able to manage, split it as microservices

    • @mytool3132
      @mytool3132 6 ปีที่แล้ว

      Clear ! Thanks

    • @PADMORE504
      @PADMORE504 5 ปีที่แล้ว

      Hi what’s the best way to contact you directly

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

    pls disable the background music, whta's the point?

  • @alisunjaya
    @alisunjaya 5 ปีที่แล้ว

    How can be this a microservice? Service call another service?

  • @AnilSingh-wt6gz
    @AnilSingh-wt6gz 4 ปีที่แล้ว

    The communication across microservices is NOT via REST API for all.

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

    Many points were missed.

  • @anilnaidu4751
    @anilnaidu4751 7 ปีที่แล้ว

    hi bro i am anil now i understand what is microservices i am feel very happy to say this thing
    and one more could please do video on how to make service call in angular js to store json object along with image in spring boot jpa store in mysql database
    image is important

    • @TechPrimers
      @TechPrimers  7 ปีที่แล้ว

      +anil naidu sure will try that anil

    • @anilnaidu4751
      @anilnaidu4751 7 ปีที่แล้ว

      thank you so much

  • @ashoksingh-qy8nf
    @ashoksingh-qy8nf 6 ปีที่แล้ว +1

    Thanks Ajay,this was really helpful.. can you please explain a microservice architecture for banking sector, it will really help me a lot.

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      There is no defined microservices architecture for banking. Like any other design principles or standards, these are just design principles which are standard across the tech industry

  • @manjirigurav1074
    @manjirigurav1074 6 ปีที่แล้ว

    Hi I have an case study , Can you please help me to design a ,micro service architecture on that case studies and also need to understand the internal and external architecture.

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      can you share the case study manjiri. I can help with the design

  • @jeroenj7494
    @jeroenj7494 6 ปีที่แล้ว

    Right?

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

    What is the software used to create the diagram?

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

      it's Google Slides.

    • @tusharchoudhary8876
      @tusharchoudhary8876 5 ปีที่แล้ว

      Specifically for Diagrams or charts, you can use Microsoft Visio too.

  • @hemanshu0503
    @hemanshu0503 6 ปีที่แล้ว

    The video is knowledgeable but please don't add background music as it;s really irritating.

  • @abkyabacha
    @abkyabacha 6 ปีที่แล้ว

    This is not what Uber architecture is like...its a hypothetical example taken by Chris Richardson ...These are screenshots from the blog www.nginx.com/blog/introduction-to-microservices/

  • @smehta344
    @smehta344 2 ปีที่แล้ว

    Please background music don't add in video.

  • @SarojKumar-lb5gs
    @SarojKumar-lb5gs 6 ปีที่แล้ว +1

    Flipkart or Amazon might be using microservice I guess because the number of people search for products is more than number of people buy .

    • @TechPrimers
      @TechPrimers  6 ปีที่แล้ว

      yes they do

    • @abhirb12
      @abhirb12 5 ปีที่แล้ว

      They obviously do

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

    Bill-Ling

  • @nitesh16077
    @nitesh16077 5 ปีที่แล้ว

    Hey please background music man....

  • @himanshupancholi5785
    @himanshupancholi5785 6 ปีที่แล้ว

    The music in the video is very annoying. The content is good, but hard to hear with the music in the background.

  • @onlineuser4942
    @onlineuser4942 2 ปีที่แล้ว

    Is there any native English speaker left on TH-cam

  • @amitpalve6089
    @amitpalve6089 3 ปีที่แล้ว

    Copied from Nginx website 😉

  • @mmfawzy4850
    @mmfawzy4850 3 ปีที่แล้ว

    music is annoying

  • @GBlunted
    @GBlunted 2 ปีที่แล้ว

    What is with the music?? Like wtflol?

  • @sum1987it
    @sum1987it 6 ปีที่แล้ว

    Hate that music! It's not a thriller please :)

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

    Oh hey shout out to some of the worst years of my life

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

      Also holy moly how did you get this so incredibly laughably wrong? This isn’t just ignorant, it’s deceptive. Please don’t do this.

  • @jpattoncook
    @jpattoncook 6 ปีที่แล้ว

    Mmn

  • @aviattri_9
    @aviattri_9 5 ปีที่แล้ว

    Billlllindd

  • @xinyutu
    @xinyutu 5 ปีที่แล้ว

    Shutdown the background stupid music.