What is an API Gateway?

Поделиться
HTML-код
  • Опубликовано: 25 дек 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 4 месяца назад

      what company please

  • @nehakhatri3921
    @nehakhatri3921 8 месяцев назад +2

    You are best teacher

    • @MagnumCarta
      @MagnumCarta 6 месяцев назад

      He accepts either 1 lakh or one 1 latke.

  • @NilakshMalpotra
    @NilakshMalpotra 9 месяцев назад

    Thanks! Great vid

  • @UECAshutoshKumar
    @UECAshutoshKumar Месяц назад +1

    Thank you

  • @jairajsahgal7101
    @jairajsahgal7101 Год назад

    Thank you for such a good topic

  • @aryankr
    @aryankr 6 месяцев назад

    kudos to your work on the topic.

    • @gkcs
      @gkcs  6 месяцев назад

      Thank you!

  • @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

  • @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 😇

  • @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 6 месяцев назад

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

  • @NeerajSharma-mz4es
    @NeerajSharma-mz4es Год назад

    nice explanation

  • @everybot-it
    @everybot-it Год назад +1

    Thank you!

    • @gkcs
      @gkcs  Год назад

      Thank you 😁

  • @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

  • @z.719
    @z.719 Год назад

    Thanks 👍

    • @gkcs
      @gkcs  Год назад

      Thank you!

  • @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...

  • @muhammedshafeeh9133
    @muhammedshafeeh9133 Год назад

    Thanks gaurav

  • @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.

  • @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?

  • @shamisheth87350
    @shamisheth87350 3 месяца назад +2

    Gaurav bhai even chat gpt recomended you for system design

    • @gkcs
      @gkcs  3 месяца назад +1

      Cheers!

  • @shabeebck3057
    @shabeebck3057 Год назад

    A this api gateway be netsjs ?

  • @cripz4203
    @cripz4203 Год назад

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

  • @mrrishiraj88
    @mrrishiraj88 Год назад +1

    Good day greetings

  • @rishiraj2548
    @rishiraj2548 4 месяца назад

    🙂👍🏻

  • @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.

  • @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

  • @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 2 месяца назад

    sir kya aap hindi main padhoege kya

    • @gkcs
      @gkcs  2 месяца назад

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

  • @abhijeetsingh2933
    @abhijeetsingh2933 Год назад

    War story?