[Skills] to improve website usability

Improve website usability, this topic is too broad, as I think you wrote a few points, plus after thought

1) Disaster Recovery

   For a little scale sites, servers are more than 1 station, the easiest is to code is distributed on several machines.

  First: can play the role of backup, a bad, you can immediately cut to the other machine

  Second: reduce machine stress, concurrent processing to increase

2) Load Balancing

  We mentioned above that the code on several machines, each based on the hardware configuration, many software can fulfill the request distribution (reverse proxy), such as nginx, lvs up. My favorite is ngnix. Nginx backend server can be configured, and may specify the heavy weight of each server so that it can distribute requests. And nginx can also configure the back-end machines through failover how to deal with a problem

What is a reverse proxy? It refers to the proxy server to accept connection requests on the internet, and then forward the request to the server on the internal network, and the results returned from the server to the client requesting a connection to the internet terminal

3) multi-server IP, DNS service traffic distribution

   This operation can contribute in two ways

First: ip using different geographical points, such as a server has two ip, a telecommunication, a CRC can be determined by the DNS service area according to the user or the network selected by the user faster ip

Second: Troubleshooting, for example, in a certain time period, some operators ip a problem, we have to switch to another via ip dns service, of course, set the switching time and dns cache time a relationship

4) add caching enables users to access faster and more smoothly

I am here to say that the cache is the database cache (redis / memcache) and static file cache.



Original Address: [skills] to improve website usability
Tags: availability    nginx    LVS    disaster recovery    load balancing    failover   

Intelligent Recommendation

Reproduced in: https: //my.oschina.net/54php/blog/600258

Guess you like

Origin blog.csdn.net/weixin_33695082/article/details/91634579