My understanding is that a reverse proxy is a generic service sitting between clients and servers, effectively hiding the server's address. On top of it, if this service can also balance load across different servers, then it becomes a load balancer. On top of this, adding features like auth, monitoring and API management, you get an API gateway. So essentially an API gateway can also act as a load balancer and reverse proxy. For example, Kong, an API gateway, is built on top of nginx, a reverse proxy.
@iCrimzon8 ай бұрын
So an API gateway without API management and auth is just a load balancer and a load balancer without needing to balance loads to multiple servers is just a proxy server which hides the servers address? How fun
@MrAnshulji8 ай бұрын
@@iCrimzon sarcasm? You can ask these questions to chatgpt btw and it will give you detailed answers.
@iCrimzon8 ай бұрын
@@MrAnshulji are you trolling? i could ask but you already explained it and im just making sense of it, why would i ask GPT, if you could ask GPT then why are you watching the video
@punpompur8 ай бұрын
That's probably the simplest explanation I have seen so far.
@243814988 ай бұрын
You have explained better than the video itself. thanks.
@shauvikr8 ай бұрын
The most interesting thing in this video is the responsibilities, which was quickly mentioned but I think it deserves to be in the schematic. While all the items send requests to a particular backend server, they are responsible for the following: - Reverse proxy - security (hide identity of backend service/endpoint), load distribution, SSL termination, compression & caching. - API gateway - single point of entry for a collection of micro-services (different APIs/RPCs), routing requests, Authn/Authz, Monitoring & rate-limiting - Load balancer - high availability & reliability by scaling a single service dynamically (up/down) depending on traffic, Implement routing algos - round robin/least connections/ip hash The part that I think most people are confused normally is considering a system (e.g., NginX) and considering that it's only a reverse proxy. The video does a great job explaining that it may serve as both Reverse proxy as well as Load balancer.
@ravindranaths5137 ай бұрын
Do we have any thing, which combines all these three?
@AKA-0773 ай бұрын
In reverse proxy do you mean load balancing when you say load distribution
@saitaro8 ай бұрын
I dropped all the programming subscriptions except for this one. You guys are making some really good explanations. Please go on.
@fritzfahrmann47308 ай бұрын
Nginx can also route different routes to other services -> see usage as ingress in k8s
@sesburg6 ай бұрын
I learned that the three concepts here are not mutually exclusive ideas. Rather, they refer to the different roles of a server placed between the client and the application server(s). Reverse proxy is the name of this server that sits between the client and app servers, acting as the "face." API gateway handles the correct use and distribution of API requests. Load balancer means this server is managing many app servers by monitoring their health and availability. Learning something new today.
@munteanionut39936 ай бұрын
if by many app servers you mean many instances of the same application web server, yes; if you meant multiple apps, then I think that would be handled by the API Gateway. Thanks for writing your thoughts here! It helps better understand the topic through others' views!
@SoftwareLevelUp8 ай бұрын
Your animations are great! Do you do it all yourself or hire out for it?
@tototrapsilo8 ай бұрын
Isn't API Gateway a reverse proxy too? Yes, usually API Gateway comes with more features such as auth, rate limiting, etc. But, fundamentally, API Gateway is a reverse proxy, right?
@gssathvik8 ай бұрын
Yes. Thats right. With reverse proxy you can configure the routing logic which helps with routing the requests to the specific service or resource.
@varunj345 ай бұрын
Hmm, Reverse Proxy also caches static content, and does SSL termination. Does an API Gateway do that? :-).
@leetkhan8 ай бұрын
They all are same, the name dictates where is it used. LB is generally provided by Service provider. Reverse proxy is a server that you install and manage. API gateway is just fancy LB with more control over headers and http configs. It generally paired with serverless functions etc etc
@munteanionut39936 ай бұрын
thanks for mentioning this! However it is not clear why "the name dictates where it is used" from your explanation
@TotoAstro778 ай бұрын
In my mind : - Reverse proxy forward requests to the right server according to the hostname in the request - API gateway forward requests to the right server according to the path of the request - Load balancer forward requests to the right server according to criterias of the server (aliveness, latency, requests previously sent, ...)
@markcooke48666 ай бұрын
An API gateway is a reverse proxy that also handles auth and rate limiting. A reverse proxy can forward requests based on path or hostname.
@MdIrfan-ip9be8 ай бұрын
Which software do you use for making animated slides?
@munteanionut39936 ай бұрын
It could be python animation.. not sure how the library is called though. Saw someone else mentioning this
@devops_learner054 ай бұрын
for deploying micro service application in server do i need to configure those Reverse Proxy, API Gateway, Load Balancer all together?
@davidlee5888 ай бұрын
still don't see their difference from here
@RockyTheDog7568 ай бұрын
Agree, only surface explanation, which work only for those who know the answer
@MattBowler8 ай бұрын
They are fundamentally the same. API gateways are just specific functionality layered on top of a proxy architecture. Source: I am an engineer for F5, owners of Nginx, BIG-IP, and F5 Distributed Cloud edge services.
@punpompur8 ай бұрын
@@MattBowler pasting a comment below from another comment thread on this video "So an api gateway without api management and auth is just a load balancer, and a load balancer without needing to balance loads to multiple servers is just a proxy server which hides server address" Does this statement summarize the actual difference between those 3? Also, i have a question about API gateway. So far I have used nginx only as a reverse proxy in a server where I host multiple applications. Api management and authentication is handled on an application level. If I ever plan to use an API gateway, does it mean I can remove the authentication logic from each application and add it to the API gateway, essentially making the applications just API endpoints?
@MattBowler8 ай бұрын
@@punpompur, that statement is reasonable and summarizes the three well. Regarding using an API gateway as a means to decouple auth from an application, this is often seen as an advantage. Pushing your security features and functionality away from the core application code allows developers to focus on what they're delivering for the business. Imparting security controls such as auth and WAF at the API gateway layer allows much more control and flexibility when it comes to lifecycle management and ops.
@punpompur8 ай бұрын
@@MattBowler what if there are multiple applications in a server where I plan to use API gateway and each application may have its own way of implementing authentication logic? Can I customize the API gateway in such a way that it can encompass all the different types of authentication logic before I remove it from the application code, or there will be only a single way of authentication inside the API gateway?
@superanik18 ай бұрын
How do we make presentations like these? Are these created via PowerPoint or any other tool?
@ColinRichardson8 ай бұрын
I wrote my own reverse proxy in javascript.. It's not as feature rich as nginx, but it does what I need it to do.. I still want to implement websockets correctly, but that is Future Colin's problem.
@brunodearaujoalves6988 ай бұрын
Repo?
@ColinRichardson8 ай бұрын
@@brunodearaujoalves698 to KZbin keeps deleting the reply
@ColinRichardson8 ай бұрын
@@brunodearaujoalves698 KZbin is even deleting comments of me saying it's deleting my comments
@ColinRichardson6 ай бұрын
@@brunodearaujoalves698 not a public one. It has all its settings wrote directly into the JavaScript currently. Some settings such as simple forwarding will be easy to serialise. But others I wrote some simple endpoint functions directly off the proxy instead of spinning up another server. Not exactly best practice. But it's working well enough for now.
@mytechminds7 ай бұрын
I watch ByteByteGo video frequently i impressed with graphics, also read book High level system design, i am very curios to know how you made this graphics ?
@МихаилТрус-я1у8 ай бұрын
You made amazing work! Thank you
@RajKumar-nz5ru8 ай бұрын
Adding Ingress controller aswell which is reverse proxy of kubernetes universe
@trihahuy-truocnam257 ай бұрын
hello sir, Can you help me know what software help you made a interesting animation like that.
@会供価6 ай бұрын
so those three does the same thing (being in the middle) but they are called different names based on the services/task that they do
@roshan.karunasena3 ай бұрын
How does API Gateway, LBS, Reverse Proxy and WAF services fall into place?
@Tony-dp1rl8 ай бұрын
Been years since I have seen a new project use nginx, as the Azure and AWS SaaS offerings provide the same features - or better in some cases.
@samjones43278 ай бұрын
Thank you for yet another great and informative tutorial! I absolutely love your content and please keep it coming for as long as possible! Be well, be safe and Cheers!!
@TanaseLiviu8 ай бұрын
Wonderful explained ! Kudos
@ArpitThukral8 ай бұрын
I thought vs would mean highlighting the differences, meaning how one is better useful than other.
@saketshetty8 ай бұрын
Can someone explain in 2:28 how can all 3 servers use same port
@0xluiisss8 ай бұрын
Different IPs
@charmander2k6 ай бұрын
The ports are local to each server/docker container.
@rishiraj25488 ай бұрын
Thanks
@Xaoticex8 ай бұрын
finally one of the better designed videos
@raj_kundalia8 ай бұрын
Thank you!
@RobinHistoryMystery8 ай бұрын
I've never been this early to a video 🧐
@victorjoel448 ай бұрын
+1
@bloodraven96228 ай бұрын
Thank you for great explanation, but I still misderstading in terminology "Reverse" is it because of callback ? May I call this service just a proxy?
@renarsdilevka65738 ай бұрын
Reverse proxy is close to the server side whereas the term "proxy" can be used in the context of proxying the request on the client side instead.
@MrAnshulji8 ай бұрын
You can think in terms of a forward proxy vs reverse prox. For standard http calls, the forward direction is from the client to the server. So a proxy sitting in the "forward" direction is a forward proxy and the one sitting in the "reverse" direction is a reverse proxy.
@modestas28908 ай бұрын
client => proxy => reverse proxy => server
@gus4738 ай бұрын
400th Like (at two hours)! 😎✌️
@da40au408 ай бұрын
Fun fact, A Reverse proxy is a load balancer and still an API gateway😅😅. Depending on how its built tho
@s8x.5 ай бұрын
they are all technically the same thing😂
@joshmitchell212Ай бұрын
Too wordy brother, makes it sound like you read all this out of a text book. Give us some practical use cases etc.