Why should you use an API Gateway?

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 56

  • @ProgramArtist
    @ProgramArtist  7 лет назад +5

    Let me know what would you like me to talk about, it can be anything as long as it is programming related

    • @Manolete919
      @Manolete919 6 лет назад +1

      Choreography patterns, please!

    • @dogelotteryandpets5396
      @dogelotteryandpets5396 6 лет назад +2

      Why not step by step process of setting up the "Api Gateway".

    • @amitk0277
      @amitk0277 5 лет назад

      EXCELLENT TUTORIAL ............. one question
      Where to put the Authentication & Authorisation ? In API gateway ?

    • @TusharKapila5
      @TusharKapila5 5 лет назад

      mixing up api gateway and stand alone apps that orchestrate worklows, services for speciic tasks like buy an ice cream. api gate way - hide changes in implementation, do rate limiting etc. Could be part of same process or another process. but logically different.

    • @bharathch9983
      @bharathch9983 5 лет назад

      Please tell about web hooks.

  • @offensivebias3965
    @offensivebias3965 3 года назад

    Best Explanation of API Gateway i have found on the web , just 5 minutes on the video and i already understand it thank you for sharing your knowledge

  • @itsjustanumber954
    @itsjustanumber954 6 лет назад

    So refreshing!! I started a Computer Programming Course and have been researching the different areas of Coding etc. I came across the concept of the API and trying to understand how it fits into modern Internet-user-Appication infrastructure. Yours is one of the best explanations I've seen for a while!! Great job!!

  • @catchupthecat
    @catchupthecat 3 года назад

    great explanation i have been try to figure this out for a while now thank you :)

  • @professorneila2941
    @professorneila2941 5 лет назад +4

    Wow I cant believe I learnt so much in just 20 minutes (10 if you watch at double the speed)

  • @kosterix123
    @kosterix123 5 лет назад +3

    a more detailed piece of code on this api gateway would be helpful, so what happens exactly when the gateway receives an order.

  • @zenzen5794
    @zenzen5794 5 лет назад

    You can use different versions for your services as they are changing. Even gateway api will have to go through versions if you are changing things. Create a nuget package to identify requests for all the services.

  • @PaulFischerclimbs
    @PaulFischerclimbs 7 лет назад +9

    Thanks for putting time into this video! It was helpful!

  • @大盗江南
    @大盗江南 4 года назад

    I like u buddy lol... the background music.. the casual small whiteboard lol... this is not geek at all, very funny haha but super useful! Thank you!

  • @lhxperimental
    @lhxperimental 5 лет назад +9

    Please remove the background music, it is a hinderance to hearing and learning.

  • @VishalRaoOnYouTube
    @VishalRaoOnYouTube 5 лет назад +1

    I enjoyed your explanation. What about in the case where I want to expose my APIs to 3rd parties and not my _own_ frontends....does the API gateway handle metering and billing for an API key? If you can do a video of an example of how this works, I'd appreciate it.

    • @ProgramArtist
      @ProgramArtist  5 лет назад

      What do you mean by metering?
      For 3rd parties it is even more advised.
      If you have your own application that communicates with your servers it is easier to change it once your servers change. It is much harder to ask the 3rd party to change something because you are changing your servers. With API gateway you can change your servers behind it without changing the API exposed to the 3rd parties

    • @VishalRaoOnYouTube
      @VishalRaoOnYouTube 5 лет назад

      @@ProgramArtist Thanks for the response. Basically, I want to publish an API that I can _sell_ to 3rd parties. For example, suppose I have an API that computes cancer risk based on some input biomarkers. I want to expose this to healthcare insurance companies. I want to charge 10 cents / .1 USD per invocation of my API. Can API Gateway (like AWS API Gateway or others) handle this for me?

    • @ProgramArtist
      @ProgramArtist  5 лет назад

      @@VishalRaoOnRUclips The AWS API gateway is more of a pure API gateway, it is pure in a sense it just redirects the request based on some rules (it doesn't apply any logic). So the logic of billing should be done by you.

  • @evgeniysurma8116
    @evgeniysurma8116 3 года назад

    great expalanation, thanx for great example

  • @saurabhsinha2026
    @saurabhsinha2026 6 лет назад +3

    How is API different from any middleware product?

    • @NapkinKing
      @NapkinKing 5 лет назад

      That's exactly what I wanted to know. It's not that making a REST that sits between the user and your other services is a bad idea. It makes perfect sense. I'm just wondering how API gateway is different than say, deploying a REST api with Spring Boot onto an EC2 instance. Does it dictate that you use lambda? Can you use EC2 or ECS? What does it offer?

  • @viveksharma5884
    @viveksharma5884 5 лет назад +2

    Excellent...simple and relevant.

  • @kkartik4u
    @kkartik4u 6 лет назад

    Very informative. Thanks. It took me back to the old classroom days when teacher used to explain concept on black or whiteboard.

  • @diegoramos27
    @diegoramos27 4 года назад

    Hi can you please explain how to setup an API gateway? is it provided by some vendor ? thanks

    • @ProgramArtist
      @ProgramArtist  4 года назад +1

      It depends on how simple you want it to be.
      You can use some built-in service that the cloud providers have like AWS API Gateway or similar products from Azure or Google Cloud. You can also use NGINX to setup one which is even more sophisticated or you can develop a service on your own. It really depends on your needs. I would suggest not developing one on your own but using an existing product

    • @diegoramos27
      @diegoramos27 4 года назад

      ProgramArtist thank you so much for the reply, Netflix is also having an existing API Gateway right?

    • @ProgramArtist
      @ProgramArtist  4 года назад

      @@diegoramos27 I don't really know, but I imagine they do

  • @basamnath3021
    @basamnath3021 4 года назад

    Great explanation!!

  • @AwakenGiovanni1000
    @AwakenGiovanni1000 5 лет назад

    I like the workflows.. can you show us how to actually connect to a web app or any of these things using something like aws lambda.. where do we input the end points.. the JavaScript?

  • @solsh6467
    @solsh6467 5 лет назад +1

    U r great dude.
    Please come again!

  • @amitk0277
    @amitk0277 5 лет назад

    EXCELLENT TUTORIAL ............. one question
    Where to put the Authentication & Authorisation ? In API gateway ?

    • @ProgramArtist
      @ProgramArtist  5 лет назад

      I'd put it in another service, the API gateway would call it as a first thing, get the needed tokens/user information with access rights and stuff like that and with that information call the other services.

  • @einfacherkerl3279
    @einfacherkerl3279 5 лет назад

    can you do advaned angular app like that has modular architecture?

  • @vidyakrishnan1757
    @vidyakrishnan1757 4 года назад

    awesome video ! Thank you !

  • @guitarradigital
    @guitarradigital 5 лет назад

    Wow, great video. I’ve a doubt: we have a web app (aspnet mvc) that needs to connect to a database only. Should I add an API gateway in this scenario?

    • @ProgramArtist
      @ProgramArtist  5 лет назад

      Your web-app should never connect the database directly. You cannot safely connect to the database from a web browser

  • @richardlanglois5183
    @richardlanglois5183 5 лет назад +1

    Great presentation!

  • @kamgasimojunior
    @kamgasimojunior 5 лет назад +1

    great video! thanks

  • @Hydrawindforce
    @Hydrawindforce 5 лет назад +1

    for ice cream the most important is not to use API gateway but a refrigerator

  • @serenadu2111
    @serenadu2111 5 лет назад +2

    I like your T shirt.... CODE BLOODED

  • @samsonkwendo8410
    @samsonkwendo8410 6 лет назад +2

    cool description

  • @professorneila2941
    @professorneila2941 5 лет назад

    I think some other topics you could cover that could get some views is Spark, Blockchain and Machine Learning, they're hot topics.

  • @sliout
    @sliout 6 лет назад +2

    It was going really well until you said lets put complex logic into API Gateway.

    • @kflo411
      @kflo411 6 лет назад

      could you explain..?

    • @jazst21
      @jazst21 6 лет назад

      Yes. Sliout, please explain

    • @biafore2012
      @biafore2012 6 лет назад +1

      Complex logic shouldn't go in an API Gateway. The service's single purpose is to buffer the external API (what the clients use) from the internal API (service layer API's). Complex logic brings 'business logic' to mind and should be housed in a separate microservice

  • @rudjdi
    @rudjdi 6 лет назад +1

    helpful

  • @debasishmahapatra681
    @debasishmahapatra681 5 лет назад +1

    why take so much time to come to the topic....?

  • @pankajmishrauk
    @pankajmishrauk 6 лет назад

    Except aws u said all things

  • @myeverymusic
    @myeverymusic 5 лет назад

    Super slow explanation, unnecessary!

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 4 года назад

    Great video! thanks