"Skills" improves site usability

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.