(2) Nginx load balancing, dynamic and static separation

(1) Load balancing

If there are concurrent requests, we increase the number of servers, and then distribute the requests to each server, change the original request to a single server to request distribution to multiple servers, and distribute the load to different servers. This is We are talking about load balancing.

Divide the requests evenly among the servers

(2) Dynamic and static separation

In order to speed up the analysis speed of the website, dynamic pages and static pages can be parsed by different servers to speed up the analysis speed and reduce the pressure of the original single server.

There is a dedicated server to store static resources

Guess you like

Origin blog.csdn.net/Luckyzhoufangbing/article/details/108770841