Ngin load balancing

is it necessary to arrange load balancing for stand-alone nginx?

nginx single server connection is worker_connections * worker_processes, and reverse proxy is divided by 2. Does that mean that the configuration of proxy server is higher than that of back-end server?

Apr.20,2022

  1. is not necessary.
  2. the configuration of the proxy server is not necessarily higher than that of the back-end server. Because the proxy server often only forwards the request, and the back-end server needs to actually handle the business logic, so the proxy server QPS can still be larger than the back-end server QPS under the same or even relatively low configuration.
Menu