As a leading player in the trendy toy market, POP MART has captured the hearts of tens of millions of young people with its viral one of a kind series, including Molly, Dimoo, and Skullpanda. Its online and offline stores have accumulated more than 26 million members. In 2022, POP MART's revenue reached CNY 4.62 billion, with 41.8% generated from online stores. An essential contributor to this success was the blind box picking mini-program.
The mini-program, launched on September 2, 2018, allows fans to try their luck at online blind box picking anytime, anywhere. This virtual blind box vending machine offers consumers the opportunity to experience similar excitement and fun online, contributing to the loyalty of a substantial fan base through a variety of innovative elements.
When POP MART launch a new product, it will lead to a sudden surge increase in business traffic due to popularity of the launch. On one hand, it is very difficult to estimate the required system capacity. To guarantee service availability during the weekly product release event, the company often scales up its system capacity based on the maximum possible traffic, resulting in significant resource waste. On the other hand, the O&M team faces high levels of stress on cost management and managing the additional resources. In order to minimize the impact on the business systems, the team must scale up or down their database system during the early hours of each day.
In response to fluctuating business traffic, POP MART needs to flexibly adjust the capacity of its business database. The system is expected to run stably with fewer resources during off-peak hours to minimize resource waste and be instantly scaled out during peak hours to ensure system stability during events like a new product release. However, conventional standalone databases, such as MySQL databases, show unsatisfactory scalability. Increasing the database capacity requires users to replace servers with higher-specification ones, leading to significant business disturbances.
POP MART has deployed many database instances to support its various business modules. Resources are scattered and inefficiently utilized, posing challenges to database cost control and O&M efficiency management.
OceanBase Cloud supports triple-level scalability. Specifically, users can scale their databases by adjusting tenant and server specifications, as well as the number of servers. Leveraging this feature, POP MART's O&M team has developed flexible scaling strategies, allowing them to handle traffic fluctuations easily and cost-effectively.
Level 1 scaling: adjustment of tenant specifications
Adjustments to the specifications of an OceanBase Cloud tenant take effect within seconds and have no impact on applications. In OceanBase Cloud, a tenant is a resource group. The adjustment of tenant specifications is completed within the OceanBase Database kernel and does not involve changes to physical resources.
Level 2 scaling: adjustment of server specifications
If the Level 1 scaling does not meet the business needs, users can increase server specifications, commonly known as vertical scaling. To scale up a MySQL database, users must perform a primary/standby switchover, which causes transient application disconnections and poses high risks. OceanBase Cloud synchronizes data among nodes using the Paxos protocol, which features automatic leader election from three replicas of the same set of data and ensures that the logs are committed. Therefore, the entire process of scale-up is transparent to applications.
Level 3 scaling: adjustment of the number of servers
Built on a native distributed architecture, OceanBase Cloud supports distributed transactions and can be horizontally scaled out without impacting applications—a capability not achievable with a MySQL database in the primary/standby architecture. Once users add servers to an OceanBase cluster, business traffic is automatically directed to the new servers. This process is transparent to applications. Users can use this multiserver cluster the same way as a single-server MySQL database.
OceanBase Cloud supports resource isolation and virtualization of multiple tenants within the same cluster. This means that multiple legacy database instances can be contained in a single OceanBase cluster, with each tenant corresponding to one instance. Data and resources are isolated for each tenant. The new solution accommodates dozens of database instances deployed by POP MART for different business lines in three OceanBase clusters, with each instance corresponding to one tenant in a cluster. This simplifies system O&M and achieves a balance between overall costs and resource allocation.
POP MART can handle most minor business traffic peaks by adjusting the specifications of core business tenants anytime and anywhere without paying additional costs or interrupting applications. The adjustments take effect in seconds, cutting the time required for scaling by 90%.
In the event of drastic traffic surges, POP MART can upgrade the specifications of each node (vertical scaling) and add more nodes to a cluster (horizontal scaling) as needed. The new system easily handles the traffic surges, which may increase 100 times during a flash sales event, by distributing the traffic load across more nodes with higher specifications. This ensures a system availability of 99.999% during the release of new products. The scaling is transparent to upper-layer applications.
As dozens of database instances are aggregated into three OceanBase clusters, the efficiency of POP MART's O&M team is significantly improved. The team can adjust the number of CPU cores and memory size of a tenant to smoothly improve the maximum transactions that can be processed per second (TPS) by the tenant at any given time. For example, they can adjust the resources during normal business hours.
Founded in 1994, Haidilao International Holding Ltd. (Haidilao) has been listed on the Main Board of the Hong Kong Stock Exchange since 2018. As one of the Fortune 500 companies in China, Haidilao is the most valuable catering chain in China, boasting an annual income of more than CNY 10 billion. Haidilao also ranked 60th in the Brand Z™ Top 100 Most Valuable Chinese Brands 2022 list, making it the only catering brand to achieve this ranking.
Kwai is a short video mobile application. Formerly known as GIF Kuaishou, the application was first released in 2011, transformed into a short video community in 2012, and rebranded as Kwai in 2014. Kwai Technology has been listed on the main board of the Hong Kong Stock Exchange since 2021. As of the end of 2021, Kwai boasted an average of 308 million daily active users and 544 million monthly active users, making it a tier-1 short video platform.
Founded in 1999, Trip.com Group is an online ticketing service company headquartered in Shanghai, China. As a leading platform for hotel booking in China, Trip.com has partnered with more than 600,000 hotels all over the world, and went public on Nasdaq in December 2003. On October 29, 2019, the company officially rebranded as Trip.com Group. On April 19, 2021, Trip.com was listed on the Hong Kong Stock Exchange.
Founded in 2011, Wuhan Lichu Business Service is one of leading companies of aggregate payment technologies in China. In 2016, the company released Saobei, the fourth-party payment middle platform, to provide an overall payment solution. As a digital business service provider for merchants, Lichu works with merchants to promote their digital operation through a combination of payment and value-added services.