Website architecture scalability design

Source: Internet
Author: User
Separating and deploying different functions can achieve a certain degree of scalability. However, as the website access volume increases gradually, a single server cannot meet the requirements of the business scale even if it is separately deployed to the latest granularity. Therefore, you must use a server cluster to deploy the same service on multiple servers to form a cluster's overall external service. At the early stage of website development, we often write all the code into a project.

Foreground, background, cache, database, static resources... and so on.

Physical separation of website Systems

Slowly, the system will grow, and it is clear that it is necessary to deal with the high concurrency access and storage of massive data for a large number of users.

Many users' requests cannot be completed on one server.

A lot of cached data and database data cannot be completed on one server.

Therefore, the scalability architecture of the website becomes particularly important.

For example.

A single function is scaled by the cluster scale.

Separating and deploying different functions can achieve a certain degree of scalability. However, as the website access volume increases gradually, a single server cannot meet the requirements of the business scale even if it is separately deployed to the latest granularity.

Therefore, you must use a server cluster to deploy the same service on multiple servers to form a cluster's overall external service.

For example, the search function.

If a server can provide 1000 requests per second, if the site is in peak hours, the number of visits to the search per second is 10000.

Then, you need to deploy 10 servers to form a cluster.

This also happens on the cache server.

In fact, to compute the scale of a service cluster, you must consider its impact on availability, performance, and associated service clusters.

Summary

Cluster scalability can be divided into application server cluster scalability and data server cluster scalability.

The two clusters have different technical implementations due to different data status management.

You can go deep into each specific architecture design.

The article draws on the book "technical architecture of large websites".

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.