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 😇
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)
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?
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.
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?
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
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
This is perfect timing on this topic. I’m working on a new API gateway for my company .
did you use a library if yes which one , any suggestions as i am working on api gateway for microservices . mern stack
what company please
You are best teacher
He accepts either 1 lakh or one 1 latke.
Thanks! Great vid
Thank you
Thank you for such a good topic
kudos to your work on the topic.
Thank you!
to avoid SPOF in a single geographic location, we can also use something like Raft or Paxos to manage consensus and leader election.
Is api gateway is a persistent service? No. Then why is this required? Since this is stateless, deploying replica would serve the purpose
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 😇
Is it the Controller that is referred to as API Gateway, or are these two completely different? If so, then how?
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)
Controller if you mean K8s is part of the control plane. API Gateway is Ingress / reverse proxy.
nice explanation
Thank you!
Thank you 😁
Why do we need to add Authorization, validation, rate limit..etc in api gate level. We can add it in each microservice level correct?
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
Thanks 👍
Thank you!
What is the algorithm working behind the load balancer forwarding requests to the POST service having the least load?
There are many: weighted round robin, least connections, etc...
Thanks gaurav
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?
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.
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?
Gaurav bhai even chat gpt recomended you for system design
Cheers!
A this api gateway be netsjs ?
Our company uses AWS Chalice as the default tech stack now in almost all projects. 😅
Good day greetings
🙂👍🏻
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
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.
Are you currently hiring for interviewready ??
Content writers, yes 😁
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
how come after two years of working you know so much,
It's 9 years of working 😛
hahaha okay maybe i rushed through your linkedIn@@gkcs
sir kya aap hindi main padhoege kya
www.youtube.com/@indian-software-engineer
War story?
@@Elwacho1964 ? I didn't get it