Stable support for tens of millions of MAUs, the hero behind Huawei Calendar

Abstract: Huawei has tens of millions of monthly active users, which poses a huge challenge to the database supporting the business: how to achieve rapid expansion of the database in a high-concurrency scenario? How to ensure business stability when running massive amounts of data?

This article is shared from Huawei Cloud Community " Stable support for tens of millions of monthly activities, the hero behind Huawei Calendar ", author: GaussDB database.

With the advancement of technology, mobile phone calendars have long been integrated into our lives. They can not only record time, remind important schedules and important anniversaries, but also recommend constellation information, interesting historical events, sports events, etc.

Huawei Calendar is such a user-friendly app. It not only has comprehensive functions and rich content, but also provides personalized functions. Users can set information subscription management according to personal habits, which greatly improves the user experience.

The technical support behind Huawei Calendar

We know that any app will generate a large amount of data when it is running, and a large-capacity database is needed to support it. And the database is not just able to store data, the most important thing is to meet the special requirements of this app, such as access speed, stability, high concurrency, etc.

Huawei has tens of millions of monthly active users, which poses a huge challenge to the database supporting the business: How can the database be rapidly expanded in a high-concurrency scenario? How to ensure business stability when running massive amounts of data?

This has to mention the hero behind Huawei's calendar - Huawei Cloud's cloud-native database GaussDB (for Cassandra).

Why GaussDB (for Cassandra)?

HUAWEI CLOUD GaussDB (for Cassandra) is a cloud-native NoSQL database compatible with the Cassandra ecosystem and supports SQL-like syntax CQL. Based on HUAWEI CLOUD's high performance, high availability, high reliability, high security, and elastic scalability, it provides one-click deployment, fast backup and recovery, independent expansion of computing and storage, and monitoring and alarming service capabilities to meet the requirements of HUAWEI CALENDAR for databases. , take the above event query scenario as an example:

  • Data response is timely . Many functions in the Huawei calendar, such as event information, major events, and emergencies, have high requirements for real-time performance and fast writing and reading.
    As a NoSQL database, compared with traditional relational databases, GaussDB (for Cassandra) has unique advantages in the face of high concurrent read and write scenarios of massive data, its unique horizontal expansion capability, strong distributed architecture, By distributing the pressure to different nodes, it effectively solves the performance bottleneck problem under high load, and meets the high concurrent read and write requirements of massive business data.
  • Easily handle high concurrency . The user base of Huawei Calendar is huge. At the same time, many people may inquire about the event information of the day, or many people may add their schedules. And these are the advantages of GaussDB (for Cassandra), because GaussDB (for Cassandra) is born for the Internet.
    GaussDB (for Cassandra) supports high concurrency, excellent read and write performance, and it adopts a distributed architecture with high flexibility. Compared with the original Cassandra, the performance of GaussDB (for Cassandra) is improved by more than 2 times , which can fully meet the requirements of Huawei Calendar. business scenario requirements.
  • Ultimate reliability . For the database, we not only need to ensure that it can meet the requirements of high concurrent reading and writing of massive data, reliability is also one of our goals.

GaussDB (for Cassandra) not only has outstanding advantages in read and write performance, but also excels in data reliability. Since GaussDB (for Cassandra) adopts a multi-node distributed architecture, if any disk or node fails, the read and write operations will automatically switch to other nodes. In theory, N-1 node failure tolerance can be achieved, that is, any node in the cluster can provide full service.

Outstanding advantages of GaussDB (for Cassandra)

GaussDB (for Cassandra) is compatible with native Cassandra, and has the characteristics of safety and reliability, super read and write, elastic expansion, and convenient management. Through multi-layer security protection systems such as VPC, subnet, security group, SSL encrypted transmission, and fine-grained authority control, the privacy of databases and users is perfectly protected.

At the same time, HUAWEI CLOUD GaussDB (for Cassandra) adopts a distributed architecture based on the separation of computing and storage, which can achieve minute-level computing node expansion and second-level storage expansion, ensuring that the expansion process does not interfere with online services, and has strong elastic expansion Ability to respond to sudden traffic in a timely manner.

In addition, HUAWEI CLOUD GaussDB (for Cassandra) also provides a visual instance management platform, which can easily create, delete, backup and restore instances, as well as delete and add nodes, with one-click operation.

The online effect of GaussDB (for Cassandra)

With the support of GaussDB (for Cassandra), Huawei Calendar easily handles high-concurrency scenarios on the basis of ensuring the reliability of its data, ensuring the smooth progress of business and bringing great convenience to every user. In a sense, every user is served.

In the Huawei terminal cloud application, GaussDB (for Cassandra) has supported 70+ core mobile phone services including Huawei Calendar to run stably online, with a total number of nodes of 10,000+ , a total data volume of XX PB , and service requests of tens of millions per second .

In addition, GaussDB (for Cassandra) is also widely used in many scenarios, such as personalized recommendation (quick access to massive data, user behavior analysis), social apps (likes, comments, replies) and many other scenarios.

Nevertheless, the above scenarios are just the tip of the iceberg of GaussDB (for Cassandra). Huawei Cloud GaussDB (for Cassandra) will continue to introduce more new features so that every user can enjoy more stable and efficient digital services.

 

Click to follow and learn about Huawei Cloud's fresh technologies for the first time~

{{o.name}}
{{m.name}}

Guess you like

Origin my.oschina.net/u/4526289/blog/6242450