How online education to deal with peak traffic? Ali cloud expert gives the "cloud + cloud database" answer!

Author:

Ali cloud database senior technical experts rampage

Ali cloud database solution architect cow away

2 months late originally spring semester first day of school all over the country, but this sudden outbreak so that students can only have 180 million home on "closed non-stop learning" school life, and have taken advantage of online education has become the special the preferred period of learning. Can be sudden traffic peak, it allows many online education platform powerless.

On the first day of school, including learning through, Mu class network, etc., many online education platforms have emerged in the case of "Caton" and "crash" and "learning through the collapse of the" once boarded this entry microblogging hot search. At the same time educate customers on the field Ali cloud platform expansion demand is also growing rapidly, especially in the database expansion demand is very strong. For example Hujiang education, counseling ape, VIPKID, onion College and many other online education platforms by-minute level expansion, to deal with the steady flow challenges.

Detailed analysis down, we found all kinds of online education company's business scene is actually more similar, basically are faced with massive exam, huge data storage requirements for audio and video data to answer user data and logs, etc., are all background data for online business storage and processing capabilities posed a severe requirement. As online education company that, in the face of today's application environment, how IT can build flexible adaptation of business development, not ball dropped?

Online education is a database development company focused on the question paper.

Delay, Caton, high-cost, self-built solutions can not win this battle, the cloud is the best choice

Before some customers using online education on Ali cloud platform is self-built database solution. In the early development of the enterprise business, the database can support the development of business; enterprise development to a certain extent, but soon began to self-built database program stretched.

For example, Ali cloud, a large online education customers, while online or over the weekend will be an instant surge in online test mode when the original self-built database program difficult to cope with such access peak, resulting in many students can not enter the online test normal; and answer the delay increased from 1 second under normal conditions of average 5 seconds, allows students to answer the user's experience a sharp decline. At the same time, this online education customers rapid growth of users each year, self-built MySQL database CPU utilization has reached more than 70%, hiring full-time DBA has also led the company to produce at least 1 million per year. In short self-built database program to deal with difficult access to the peak, it is difficult to meet the needs of rapid development of business, and difficult to manage, and will increase labor costs and other issues, which are placed in front of the rapid development of online education companies enormous challenge.

The face of these many challenges, this online education companies have chosen to give up self-built IT, the whole business will migrate to the cloud Ali, Ali chose the core database cloud PolarDB. By leveraging the advantages of cloud computing technology, this online education companies achieve great flexibility of IT infrastructure, we not only reduce costs, but also to let the technical team focused on improving the service experience.

In addition to ape counseling, for example, by moving to the database after Ali cloud PolarDB, flat peak business time, can simultaneously support the general volume of students in online courses, and businesses will not feel the pressure; and when the peak time to deal with business just an hour earlier to prepare, it is possible to enhance the operational capacity of the temporary enough to cope with one million concurrent access to student grades. Since PolarDB database resources on demand elastically stretchable, so after counseling apes migrate from MySQL to save five PolarDB capacity read-only database, saving nearly 70% of the database expenses.

Overall, the online database maintenance workload can be reduced 95% without experienced professional DBA sits, thus greatly reducing the labor costs for database maintenance; then if the dimension of the business, ape counseling migrating to PolarDB greatly enhance the user experience . With the further maturation of cloud computing technology, cloud platform has become the best business support platform.

Database of minutes to help the expansion of online education business enterprises to cope with peak

Online education companies in many product or service business all have distinct peak characteristics that produce peak traffic at the weekend and will visit during the examination.

Read and write high concurrent access to the user caused contention, thus making the database of high I / O, and if the purchase MySQL database has been high-profile, high cost makes business difficult to accept.

Ali goes on, many enterprises through the use of online education Ali cloud PolarDB, with its ability to quickly resilient, temporarily increase the database configuration and cluster size at the peak of the business, and greatly reduced compared to the previous program overall cost. In general, the expansion of traditional database configured to calculate in days, and the cloud database can be achieved minute level of expansion, efficiency improvement than a few times; feedback from online education business point of view, the reason for the choice of Ali cloud database PolarDB , in addition to the database PolarDB higher performance, and enables the ability of minutes elastically stretchable more than 100% of the value PolarDB compatible with MySQL.

Behind its strong resilience capability is actually PolarDB storage and computing separation design.

Computing node is called the separation (DB Engine) and a storage node (DB Store) on a different physical server, any ground to the storage device I / O operations are the network I / O. Further, through means of network access PolarFS PolarStore test performance results can be substantially flat with a single copy of the SSD local; the storage and computing architecture PolarDB isolated, in addition to reduce storage costs, ensure strong uniform standby data, the data is not lost outside, also brought a huge advantage, is to make elastically stretchable database becomes extremely simple and convenient.

Ali cloud PolarDB layered architecture diagram

As shown above, PolarDB using a layered architecture, the reader is provided separate from the upper PolarProxy agent, the SQL functions such as acceleration, the database engine to the intermediate node PolarDB construct a database cluster write to read, to the bottom of the distributed storage PolarStore provide multi-node data sharing for the upper mount, each layer of their duties, work together to build a PolarDB cloud database cluster.

Scalability is typically generally longitudinal sense (Scale up) and transverse (Scale out) and in two ways, lifting means disposed longitudinal, transverse refers to the configuration change, but the increase in the node. For PolarDB, its elastic capability can be summarized as "lateral nodes up to 16, up to 88 longitudinal core, and the dynamic expansion of storage capacity, without Configuration", its technical implementation details behind super elastic omitted, However, the database has expansion capability minute class, for online education business is very important, during this epidemic is also a good online education to help customers cope with the traffic peak.

+ Cloud cloud database online education is the best path to business

Since the outbreak, demand for the explosive growth of online education, but if the IT capacity because of lack of drag on the performance of the business, which is the case a lot of online education companies do not want it; cloud computing and cloud database technology is boosting the online education best technical route the rapid development of enterprises.

Published 251 original articles · won praise 761 · views 260 000 +

Guess you like

Origin blog.csdn.net/sch881226/article/details/104615630