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.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e94433-14c4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e94433-14c4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?