Sunday, June 28, 2026

Nginx as reverse proxy and load balancer

Using nginx as HTTP load balancer: 
https://nginx.org/en/docs/http/load_balancing.html

Nginx as a Reverse Proxy and Load Balancer:
https://medium.com/@shashwattripathi11/nginx-as-a-reverse-proxy-and-load-balancer-2acc6cd9ff8f 

 

Load balancing methods

The following load balancing mechanisms (or methods) are supported in nginx:

  • round-robin — requests to the application servers are distributed in a round-robin fashion,
  • least-connected — next request is assigned to the server with the least number of active connections,
  • ip-hash — a hash-function is used to determine what server should be selected for the next request (based on the client’s IP address). 

 

 

No comments:

Blog Archive

Followers