High-performance service-side access design

Source: Internet
Author: User

Yesterday read a post, the overall summary of the next service optimization of several points, but also for these days to read the book to make an annotation

Original link: http://www.liuhaihua.cn/archives/424955.html

1 Read and write separation, access from the library, write operation access to the main library, the main library will synchronize the change data to from the library.
2 Resolve write delay, increase MySQL cache, use high-performance CPU host, MySQL use physical host, use SSD
3 Vertical Sub-Library, the irrelevant business stripping, reduce the use of join. Implement the business in the program rather than in SQL.
4 a horizontal sub-library that splits large traffic into multiple parallel units, leveraging the Unified ID generator with cache redis.


The idea is to make the best possible squeeze performance from the physical architecture, the hardware level, to provide a higher level of access at a single point
3,4 's idea is to move the operation logic of the database into the program, the database is usually very difficult to leave, especially the level of the library, need to have a set of data access logic for the late integration of data.

High-performance service-side access design

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.