Evolution of large website architectures (3) Use cache to improve website performance and Architecture Evolution

Source: Internet
Author: User
Tags website performance

Evolution of large website architectures (3) Use cache to improve website performance and Architecture Evolution

Website access also follows the 80% law: 20% of business access is concentrated on 20% of the data. If we cache of the data, can we reduce the access pressure on the database? During project development, we usually cache some basic information, such as country, city, airline, airport and terminal information in the Business Travel System.

Use cache to improve website performance

Cache is generally divided into two types: local cache and distributed cache. Local cache refers to the local cache of the application server, and distributed cache refers to specialized cache servers, such as memcached and redis. Is the architecture of the website after the cache is used:

 

Conclusion: After the cache is used, the read Pressure on the database is reduced, but the problem persists: the number of requests that an application server can process is limited. When the concurrent access volume increases, the application server will become the performance bottleneck of the entire website.

 

Related Article

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.