Load balancing

When we access the server normally, our client can access directly, as shown in the picture below

However, when we have a lot of request access to the server, our server will bear: no, we can improve server configuration, but can not fundamentally solve the problem, so we will increase the number of servers, and if the request is a lot of, a server can’t handle, we can come for more than two, and three server how to deal with a lot of request? This is load balancing, implemented by reverse proxy

Dynamic and static separation

The so-called static and dynamic separation, is to speed up the site’s resolution speed, the dynamic page and static page are deployed to different servers to parse

The following is a common request that puts all the resources together

The combination of dynamic and static means that dynamic resources are put together and static resources are put together