What is an API Gateway?

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 48

  • @olajohnson8101
    @olajohnson8101 Рік тому +9

    This is perfect timing on this topic. I’m working on a new API gateway for my company .

    • @sumeshnayar
      @sumeshnayar 8 місяців тому

      did you use a library if yes which one , any suggestions as i am working on api gateway for microservices . mern stack

    • @RahulM-br7io
      @RahulM-br7io 3 місяці тому

      what company please

  • @nehakhatri3921
    @nehakhatri3921 8 місяців тому +2

    You are best teacher

    • @MagnumCarta
      @MagnumCarta 5 місяців тому

      He accepts either 1 lakh or one 1 latke.

  • @shreyasgtrivikram8467
    @shreyasgtrivikram8467 7 місяців тому +1

    Topic is Explained very nicely .
    Would it be possible for you to provide the link for the free resource on CDN's on how they deliver live streaming . Would be really helpfull
    Thank you 😇

  • @NilakshMalpotra
    @NilakshMalpotra 8 місяців тому

    Thanks! Great vid

  • @r0075h3ll
    @r0075h3ll 11 місяців тому +3

    Is it the Controller that is referred to as API Gateway, or are these two completely different? If so, then how?

    • @girishanker3796
      @girishanker3796 7 місяців тому

      The controller is actually part of your service itself. Gateway is a server which routes the incoming client requests to the service ( which will hit the controller inside the service)

    • @MagnumCarta
      @MagnumCarta 5 місяців тому

      Controller if you mean K8s is part of the control plane. API Gateway is Ingress / reverse proxy.

  • @aryankr
    @aryankr 6 місяців тому

    kudos to your work on the topic.

    • @gkcs
      @gkcs  6 місяців тому

      Thank you!

  • @jairajsahgal7101
    @jairajsahgal7101 Рік тому

    Thank you for such a good topic

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

    to avoid SPOF in a single geographic location, we can also use something like Raft or Paxos to manage consensus and leader election.

    • @SubhramRana
      @SubhramRana Рік тому

      Is api gateway is a persistent service? No. Then why is this required? Since this is stateless, deploying replica would serve the purpose

  • @sadashivudubalabhadra4186
    @sadashivudubalabhadra4186 10 місяців тому

    Why do we need to add Authorization, validation, rate limit..etc in api gate level. We can add it in each microservice level correct?

    • @RiteshYadav-rc1np
      @RiteshYadav-rc1np 10 місяців тому +1

      yes you can do it but it will create unnecessary load on microservices why not to prevalidate all this things in api gateway so thats the crux

  • @NeerajSharma-mz4es
    @NeerajSharma-mz4es Рік тому

    nice explanation

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

    What is the algorithm working behind the load balancer forwarding requests to the POST service having the least load?

    • @gkcs
      @gkcs  Рік тому +3

      There are many: weighted round robin, least connections, etc...

  • @RicardoSilvaTripcall
    @RicardoSilvaTripcall Рік тому

    Great video as always, if it's possible, I would like to hear more about different techs or patterns that enable 3rd party services to communicate with each other without the need of API gateways.
    API Gateways also acts as a Reverse Proxy, so your internal services are not exposed to the internet, how to do that without a proxy or a direct VPN link?

  • @UECAshutoshKumar
    @UECAshutoshKumar Місяць тому +1

    Thank you

  • @atulrai1713
    @atulrai1713 Рік тому

    Why do we need to make a deployment on API Gateway in case of contract changes in any of the services? It is because you are also validating the incoming requests (validating request payload) on API Gateway?
    Also, Does all the validation and authorization logic in API gateway goes inside the API Gateway Authorizer?

    • @Prashantsingh896
      @Prashantsingh896 Рік тому +2

      Right, lets say we are checking the incoming req against a predefined schema so any changes to that schema would need a new deployment. Otherwise incoming requests would be validated against the old schema.
      Also not all validation/authorization logic goes in gateway, it can reside in service itself also.

  • @everybot-it
    @everybot-it Рік тому +1

    Thank you!

    • @gkcs
      @gkcs  Рік тому

      Thank you 😁

  • @shamisheth87350
    @shamisheth87350 3 місяці тому +2

    Gaurav bhai even chat gpt recomended you for system design

    • @gkcs
      @gkcs  3 місяці тому +1

      Cheers!

  • @muhammedshafeeh9133
    @muhammedshafeeh9133 Рік тому

    Thanks gaurav

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

    API gateways are used when client wants to call any of the endpoint right. but how does two microservice A and B will communicate with each other. Is it via gateway even when we use restTemplate to make API calls? Please answer this question

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

      They communicate with each other directly using GRPC or some other protocol.
      Have a look at my WhatsApp System Design video to get ideas around this.

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

    Good day greetings

  • @shabeebck3057
    @shabeebck3057 11 місяців тому

    A this api gateway be netsjs ?

  • @z.719
    @z.719 Рік тому

    Thanks 👍

    • @gkcs
      @gkcs  Рік тому

      Thank you!

  • @cripz4203
    @cripz4203 Рік тому

    Our company uses AWS Chalice as the default tech stack now in almost all projects. 😅

  • @gopalsirotha
    @gopalsirotha Рік тому

    Are you currently hiring for interviewready ??

    • @gkcs
      @gkcs  Рік тому

      Content writers, yes 😁

  • @sachinbandil9245
    @sachinbandil9245 11 місяців тому

    sir good evening as i am new to programming world and facing several challenges while solving the questions can you please help me to overcome come from this problem i want to learn these technologies

  • @rishiraj2548
    @rishiraj2548 4 місяці тому

    🙂👍🏻

  • @vaishalii_
    @vaishalii_ Рік тому

    how come after two years of working you know so much,

    • @gkcs
      @gkcs  Рік тому

      It's 9 years of working 😛

    • @vaishalii_
      @vaishalii_ Рік тому

      hahaha okay maybe i rushed through your linkedIn@@gkcs

  • @AyushGupta29164
    @AyushGupta29164 Місяць тому

    sir kya aap hindi main padhoege kya

    • @gkcs
      @gkcs  Місяць тому

      www.youtube.com/@indian-software-engineer

  • @abhijeetsingh2933
    @abhijeetsingh2933 Рік тому

    War story?