Nginx Load Balancing
Nginx is used as the web reverse proxy or load balancer.
The Kunpeng server can function as a web reverse proxy or load balancer. It uses the multi-core capability of the Kunpeng processors to provide higher web request processing and forwarding capabilities.
Generally, reverse proxy and load balancing servers are deployed for large websites. Nginx is the most common and high-performance server.
When functioning as a reverse proxy server, the server receives a request from a client, selects an actual proxied server, forwards the request, and returns a response to the client. In this process, the information transmitted between the following nodes needs to be maintained to ensure that the responses can be returned along the original path: client
reverse proxy server and reverse proxy server
actual servers. In this way, only the address of the proxy server is presented to the user, which avoids unnecessary disclosure of all the server addresses.
You can configure upstream to implement load balancing when Nginx is used as a reverse proxy server. When a request is received, a server from the server cluster configured in upstream is selected based on certain policies to process the request. Figure 1 shows the load balancing process. Load balancing allows horizontal expansion of the service processing capability of the entire system.
Using the Kunpeng BoostKit for Web in Nginx load balancing scenarios has the following features:
