What is an API Gateway?

preview_player
Показать описание
What's an API gateway? It is a server that exposes internal service APIs to external client devices, using a protocol like HTTP.

The gateway also uses design patterns like REST and GraphQL to expose APIs, which allow clients to get and update data through servers with databases.

In this video, we will talk about API gateways, their use cases, and how they work with CDNs and DNSes to ensure fast and reliable user request handling.

Some of their most common use cases are:

1. Authentication and Authorization
2. Request Transformation
3. Request Validation
4. Rate Limiting
5. Routing
6. Load Balancing

Looking to ace your system design interviews?

This course has over 300+ detailed videos on systems design.

You can follow me on:

00:00 What is an API Gateway?
01:02 Authentication on the Gateway
01:30 Request Transformation
02:07 Request Validation
02:43 Rate Limiting
03:09 Request Routing
04:20 Load Balancing
05:32 Architecture Overview
06:00 DNS
07:50 CDNs
09:30 Architecture Overview with AWS
10:31 War Story - Restart EVERY Week!

#SystemDesign #InterviewReady #Coding
Рекомендации по теме
Комментарии
Автор

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

olajohnson
Автор

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 😇

shreyasgtrivikram
Автор

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

rhll
Автор

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

dpynsnyl
Автор

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

sadashivudubalabhadra
Автор

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

sachinbandil
Автор

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

ashishkumarmishra
Автор

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?

RicardoSilvaTripcall
Автор

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?

atulrai
Автор

Gaurav bhai even chat gpt recomended you for system design

shamisheth
Автор

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

sanjeevkumarrai
Автор

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

cripz
Автор

Are you currently hiring for interviewready ??

gopalsirotha
Автор

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

vaishalii_