Improve the usability of the site, this topic is too broad, as I thought of writing a few points, and later thought of adding
1) Disaster Recovery backup
For sites of some size, the server is more than 1, the simplest is the code distributed on several machines.
First: Can play the role of backup, one broken, you can immediately cut to other machines
Second: Reduce the pressure of the machine, increase the concurrent processing capacity
2) Load Balancing
The above point we mentioned that the code on several machines, according to each hardware configuration, many software can achieve the request distribution (reverse proxy), such as Nginx,lvs. What I used to do is Ngnix. You can configure the back-end server with Nginx, and you can specify the weight of each server so that the request can be distributed. And Nginx can also configure the back-end machine through failover how to deal with the problem
What is a reverse proxy? refers to a
proxy server that accepts connection requests on the Internet and then
forwards the request to a server on the internal network. and returns the results from the server to the client requesting a connection on the Internet
3) Server Multi-ip,dns service traffic distribution
This operation can contribute to the following two areas
First: The geographical use of different IP, such as the server has two IP, a telecommunications, a CRC, can be based on the region or the user's network through the DNS service to make judgments, for users to select a faster IP
Second: fault handling, for example, in a certain time period, a carrier's IP problem, we also have to switch through the DNS service to another IP, of course, the switching time and the DNS settings of the cache time is related
4) cache makes user access faster and smoother
The cache I'm talking about here is the database cache (Redis/memcache) and the static file cache.
Original address: "Skills" to improve usability of the website
"Skills" improves site usability