Load balancing across multiple application instances is a commonly used technique for optimizing resource utilization, maximizing throughput, reducing latency, and ensuring fault-tolerant configurations. It is possible to use nginx as a very efficient HTTP load balancer to distribute traffic to several application servers and to improve performance, scalability and reliability of web applications with nginx. 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). Note: Please note that with round-robin or least-connected load balancing, each subsequent client’s request can be potentially distributed to a d...
Free Hosting & Email Solutions for Application Developer