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 


  1. Increased Security 
  2. Identity of backend servers
  3. Load distrubution
  4. SSL Termination
  5. Compression
  6. 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 


  1. Routing requests
  2. Authentication
  3. Authorization
  4. Monitoring 
  5. 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

Popular posts from this blog

Distributed Tracing

Scalability