API Gateway | Microservices Design Pattern | Swiggy Architecture (Imaginary) | Tech Primers

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • This video covers the API Gateway which is a microservices design pattern using an imaginary Swiggy 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:
    Dyalla
    The Passion HiFi - What We Came To Do
    Joakin Karud
    ---------------------------------------------------------------
    🔥 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.
    #APIGateway #MicroservicesDesign #TechPrimers

КОМЕНТАРІ • 99

  • @gnanasekaranebinezar7199
    @gnanasekaranebinezar7199 5 років тому +4

    What a great work that covers the nitty gritty of Microservice.!!! You devoted and dedicated to learn and study the swiggy Architecture is highly commendable. Excellent work. Tons of thanks.🙏🙏🙏👍

  • @chilamakuruvishnu
    @chilamakuruvishnu 5 років тому +8

    Nice video. You missed few microservices like OMS order management, Notification Service(emails, sms, push notifications), FMS (fulfillment ), Tracking Service ( tracking driver location pings at regular intervals)

    • @TechPrimers
      @TechPrimers  5 років тому +2

      Yes dude. Swiggy has not made that available for all 😁
      Also didnt want to clutter with too imaginary components in the architecture diagram

  • @miltonsingh
    @miltonsingh 4 роки тому +6

    The name is misleading, I started to watch this lesson to understand API gateways but it turned out to be different. Please change the name so that it does not mislead to a tutorial for API Gateway which has not been discussed .

    • @PoojaYadav-wy6fg
      @PoojaYadav-wy6fg 3 роки тому

      Thanks.. u saved my time...i also came here for api gateway

  • @prashantjha439
    @prashantjha439 4 роки тому

    AWS api gateway is slightly different than a standalone gateway service. AWS API gateway is sort of a REST layer without any backing springboot service while gateway pattern is a microservice arch design pattern where you spin up a standalone front facing microservice where you take care of things like caching , input validation , header manipulation , aggregreator etc.

  • @gnitin0384
    @gnitin0384 Рік тому +1

    Very informative and interesting. Thank you for the video.

  • @PraveenKumar-ux2iz
    @PraveenKumar-ux2iz 5 років тому +4

    If it is react(native), then the same can be used in all platforms

  • @knowledgeseeker3530
    @knowledgeseeker3530 3 роки тому +1

    I can understand Authentication and Authorization will be done as one of the Tasks. Similarly Data Transformation. But I have not understood the case in which different protocols will be involved. Can you please elaborate on that?

  • @Ahhhh5994
    @Ahhhh5994 5 років тому +3

    Please, can You do a pratical example with AWS Gateway or Jhipster ? I have a serious problema with integration between microservices, DB ....

  • @vijayrathore100
    @vijayrathore100 4 роки тому +1

    He is not explained api gatway, he described architecture of swigy

  • @dineshchandgr
    @dineshchandgr 3 роки тому +1

    great

  • @GiriAlkondanSubbiah
    @GiriAlkondanSubbiah 5 років тому +2

    Good job @TechPrimers.. Nice video. AWS lambda may be good choice for systems which has traffic on few days in a week or few days in a month and then no traffic at all. In this use case, this is a heavy traffic application and AWS lambda or FAAS implementation may not be a good choice for here. May be they have some GraphQL for the aggregation and flexible response payload I guess.. (its an imaginary architecture.. :) )

    • @TechPrimers
      @TechPrimers  5 років тому

      Thanks Giri. Yeah agree with that😁

  • @TheDeclancox
    @TheDeclancox Рік тому +1

    Excellent presentation!

  • @GauravJain108
    @GauravJain108 2 роки тому +1

    Thanks! :)

  • @sumitkaggarwal
    @sumitkaggarwal 5 років тому +2

    Good one. Add an imaginary data flow diagram as well.

  • @sandeepjoshi8531
    @sandeepjoshi8531 5 років тому +3

    6:41 - To correct you there, Swiggy App is built on a hybrid platform.

  • @rakeshAWGP
    @rakeshAWGP 4 роки тому

    very nice explanation of API Gateway mapped with swaggi case study . Thanks for uploading .

  • @SivaKumar-cx7db
    @SivaKumar-cx7db 5 років тому +1

    I never miss any of your videos, awesome. Thank you very much.👍

  • @anothertechie
    @anothertechie 5 років тому +2

    They don't need to use Java/Kotlin for android and Swift for ios. They can even use something like React Native as a common technology. Not sure if Swiggy uses it but could be one of the possibilities.

  • @rajsekharmahapatro
    @rajsekharmahapatro 5 років тому +2

    Good one. +1 if there is a provision.

  • @sandeshshivaraju5025
    @sandeshshivaraju5025 5 років тому +2

    you answered my question regarding API gateway. Thank you !!

  • @tapaswinimohanty9494
    @tapaswinimohanty9494 5 років тому +2

    very informative...Please make a tutorial on cassandra and mongo

    • @TechPrimers
      @TechPrimers  5 років тому

      It's already done. Please check the old videos

  • @KK-tz5fr
    @KK-tz5fr 5 років тому +1

    Can you create some video on OOD design .... with real and practical examples .... some ideas can be taken from SOLID principles.
    Thanking you for your time and efforts.

  • @yadneshdhale4396
    @yadneshdhale4396 5 років тому +1

    All videos are awesome. Sir Could you please make video on Spring boot Security and how to apply with all micro services ?

    • @TechPrimers
      @TechPrimers  5 років тому +1

      There are already videos on Spring Security with SPring Boot. Take a look at them

  • @Ravikumar-gj6qw
    @Ravikumar-gj6qw 4 роки тому

    Nice information about swiggy app and Java

  • @naragoud428
    @naragoud428 4 роки тому +1

    good explanation..thanks

  • @vageeshadiga5218
    @vageeshadiga5218 5 років тому +11

    Nice video. Can you please do a video on event based architecture with spring boot?

  • @shaanbhattacharya2243
    @shaanbhattacharya2243 5 років тому +2

    Excellent one, one request can you upload a video on how to integrate an existing spring boot project with Aws Lamda.

  • @sachintelang8558
    @sachintelang8558 5 років тому

    Nice video. My question is can AWS API Gateway be replaced by Zuul Proxy and deploy that as AWS EC2 instance. is that correct understanding?

  • @aseemmithal3646
    @aseemmithal3646 5 років тому +1

    So, is it correct to say that API Gateway is nothing more than a facade?

  • @rpai666
    @rpai666 3 роки тому

    What is the need for the API Gateway to route the requests to Load Balancer via "internet"? Aren't the "Amazon API Gateway" and "Load Balancer" hosted on the same AZ?

  • @kapilshekhar
    @kapilshekhar 5 років тому

    The API endpoints will most probably be on ECS(Containers) than EC2 workloads.

  • @diboracle123
    @diboracle123 4 роки тому

    one question, If we directly host our web site into cdn and not backed by application gateway how we can protect DDOS kind off attack. Plain cdn can not do ... please clarify

    • @TechPrimers
      @TechPrimers  4 роки тому

      CDNs support the prevention of DDoS attack. You need to leverage those features from the CDN to get full benefits of the CDN

  • @KK-tz5fr
    @KK-tz5fr 5 років тому +1

    thanks.. keep bringing new tech to us.... liked very much

  • @ArjunKalidas
    @ArjunKalidas 5 років тому

    This is an excellent video. I have a question:
    As you mentioned, the restaurants will have something called "Restaurant Service" and "Restaurant DB", I lost you there. Did you mean all the restaurant data has to be available somewhere to access, that's my understanding. Since no one is manually entering or updating the stock or their menu, there has to be a place where all the menu details of all the restaurants are available. Am I correct? Does that mean, all the restaurants need to have a website and their data has to made available for apps like swiggy to use? If so, how?
    Also, what did you mean by a 3rd party API endpoint will be there to fetch the details of the restaurant menus/cuisines?

    • @TechPrimers
      @TechPrimers  5 років тому

      There are central service providers where all restaurant information is stored, so Swiggy/Zomato leverages those to get information about the food and other details. There will be a UI with the restaurants to update the stock, delete and control their orders, etc.

  • @shan91ful
    @shan91ful 5 років тому +1

    Awesome work, guys.. Can we have a video for Spring Cloud Data Flow, please..

  • @chrispure7461
    @chrispure7461 4 роки тому

    can azure api gateway be used for load balancing ,service discovery in case of micro services inter process communication as well instead of using eureka or some other library? like all micro services talking to each other through gateway? what are the pros and cons with this approach ?

    • @TechPrimers
      @TechPrimers  4 роки тому

      You will be charged more because your API Gateway will incur charges based on the number of requests. If you need all the features of azure api gateway you can use it. If not you can use eureka or other libraries

  • @shareefhiasat9746
    @shareefhiasat9746 5 років тому +2

    i love case study approach great :)

    • @TechPrimers
      @TechPrimers  5 років тому

      Glad tats helpful shareef

    • @shareefhiasat9746
      @shareefhiasat9746 5 років тому

      @@TechPrimers i googled for tats meaning ? can you tell me thanks :)

    • @TechPrimers
      @TechPrimers  5 років тому +2

      dude its "that was"

  • @ashu7pathak
    @ashu7pathak 3 роки тому +1

    Thanks a ton!

  • @mailraj2196
    @mailraj2196 5 років тому +1

    Really very good video , thanks a lot

  • @mustaphag
    @mustaphag 5 років тому +1

    Man, you are the best

    • @TechPrimers
      @TechPrimers  5 років тому

      Thank you. Glad that was helpful!

  • @shivamsingh-cz7od
    @shivamsingh-cz7od 5 років тому +1

    Great video ! more n more ! uber, air bnb etc..

  • @nisanov82
    @nisanov82 4 роки тому

    Why do they need both Kafka and RabbitMQ? Both are seems to be for event sourcing, isn't it ?

    • @TechPrimers
      @TechPrimers  4 роки тому

      Great question, I have answered it in my latest video. I can do a separate video if u feel thats going to be helpful

  • @pramodcv
    @pramodcv 5 років тому +1

    Explained very awesome.

  • @shivakrishna3047
    @shivakrishna3047 5 років тому +1

    Very nice one

  • @ashu7pathak
    @ashu7pathak 3 роки тому

    Hey, you speak just like Byju Raveendran of Byju's fame. I attended his cat classes. Are you Byju himself?

  • @sureshsuri4191
    @sureshsuri4191 4 роки тому

    Please make on video for cibil score with insurance domain architecture

  • @AdityaRajVerma
    @AdityaRajVerma 5 років тому

    Please make a video of how to convert normal spring project t Spring Boot.this is most searched now on internet

    • @TechPrimers
      @TechPrimers  5 років тому

      that might not suite for all since every spring project is different with different libraries. Do you hav any spring project in github for which i can try and show?

    • @AdityaRajVerma
      @AdityaRajVerma 5 років тому

      @@TechPrimers yes i will mail you link.thanks alot .you are awesome.you reply to every commnet.please keep this.

  • @dhanushkakumarage1889
    @dhanushkakumarage1889 5 років тому +1

    Thanks for the explanation

  • @chandrashekharkharche5860
    @chandrashekharkharche5860 5 років тому +1

    Nicely explained.

  • @RahulJain-qc3ow
    @RahulJain-qc3ow 5 років тому

    By Api Gateway do you mean Spring Zuul ? or Amazon itself provides an alternative ?

    • @TechPrimers
      @TechPrimers  5 років тому

      API Gateway is a concept/practice. And Amazon provides one

  • @dilipsolanki7856
    @dilipsolanki7856 5 років тому +1

    Great explanation...

  • @DEVESHANAND_gradstuff
    @DEVESHANAND_gradstuff 5 років тому

    Hi Sir, Why did you hide Live Coding #2 Video. Please make it visible. We are losing flow in the Video Series.

    • @TechPrimers
      @TechPrimers  5 років тому

      Is it? I didn't change the visibility

  • @praveenmail2him
    @praveenmail2him 5 років тому +1

    E
    Xllent explaination.

  • @sbshshendkar
    @sbshshendkar 4 роки тому

    Want to know about workflow.

  • @sumitanand9978
    @sumitanand9978 5 років тому +1

    Excellent bro 😊

  • @umasankarsivasubramanian607
    @umasankarsivasubramanian607 5 років тому

    How the CDN will get updated with latest resources of the application

    • @TechPrimers
      @TechPrimers  5 років тому

      We need to push to the CDN. Or we can configure our CDN to pick it up from S3

  • @manirsg9641
    @manirsg9641 5 років тому +5

    Excellent explanation.. let's do one project , please?

    • @TechPrimers
      @TechPrimers  5 років тому +1

      Thanks. I have made that long back. Check this video it covers an End-to-End microservices creation for a StockPrice Viewer. Source code link is in the description of this video - ua-cam.com/video/rlS9eH5tEnY/v-deo.html

  • @rahulgoti3864
    @rahulgoti3864 5 років тому +1

    Thanks a lot

  • @xof8256
    @xof8256 5 років тому

    Thank You!

  • @vidyasagarareddy6118
    @vidyasagarareddy6118 5 років тому +1

    really a nice one da!!.

  • @stephyjacob1256
    @stephyjacob1256 5 років тому +1

    Thanks mate

  • @easyappscompany
    @easyappscompany 5 років тому

    nice

  • @rajeshch1267
    @rajeshch1267 5 років тому

    Hi sir
    where we can use microservic in your project.this is question asked by interview.please tell the answere

  • @ilyasabbasi42
    @ilyasabbasi42 5 років тому +4

    Amazing boss...share ur knowledge source also..and ur contact details

    • @TechPrimers
      @TechPrimers  5 років тому

      There is a video on how do i keep myself updated. you can take a look.
      you can connect with me in Twitter or via email - info@techprimers.com

  • @rushabhshah6373
    @rushabhshah6373 5 років тому

    Wrong info android and i
    IOS app is hybrid. So maybe written in react.

  • @shaikabdulkhadar6696
    @shaikabdulkhadar6696 5 років тому

    could you tell us the usecase of rabbitmq and kafka in swiggy?

    • @TechPrimers
      @TechPrimers  5 років тому

      According to swiggy bytes, they use it for sending events and interprocess communication

  • @nithinnitc
    @nithinnitc 5 років тому

    Good vid, but ads every minute.

  • @kittywarrior3999
    @kittywarrior3999 5 років тому

    非常感谢分享

  • @Ravikumar-gj6qw
    @Ravikumar-gj6qw 4 роки тому

    Apple apps are also written in Java only y Java cannot run in apple phone or what bro? Java every where

  • @csakdee
    @csakdee 9 місяців тому

    So... from 20 minutes of content You do a few minutes of ad for amazon, and redirect viewers to their explication of an "api gateway"?!
    "Ok UA-cam, don't recommend content from this channel"

  • @sandeeptanwar
    @sandeeptanwar 4 роки тому

    Too much unnecessary stuff