Reverse Proxy Vs API gateway Vs Load Balancer
Reverse Proxy Vs API gateway Vs Load Balancer
Reverse Proxy:
- A reverse proxy is a server that sits in between the client devices and backend servers.
- It forwards the client requests to the appropriate service and returns the server’s response to the client.
- It protects the websites from the direct attacks like DDOS distributed denial of service.
- It improves the performance by caching content.
- It ensures the traffic is evenly distributed across multiple servers to handle high volumes of requests efficiently.
Reverse Proxy provide features such as
- Increased Security
- Identity of backend servers
- Load distrubution
- SSL Termination
- Compression
- Caching
It’s also useful with one web server.
API gateway:
An API Gateway is a server that acts as an entry point for managing, routing, and securing API requests to multiple backend services.
API gateway offers features
- Routing requests
- Authentication
- Authorization
- Monitoring
- Rate Limiting
Its very useful in microservices
Load Balancer:
It ensures high availability and reliability by directing to only healthy servers by dynamically adding or removing servers as request demands fluctuates
It uses various algorithms such as round robin , least connections, IP hash
Comments
Post a Comment