"The favorites feature serves over 50 business parties in Alibaba Group. The total number of favorites records is about 100 billion and the number of concurrent favorites records is about hundreds of thousands. ApsaraDB for OceanBase provides perfect support for the read and write scenarios of Taobao favorites. The promotions of Taobao have tested the concurrent processing capabilities of ApsaraDB for OceanBase. ApsaraDB for OceanBase meets the business requirements of Taobao favorites in terms of stability, high throughput, excellent performance, and low cost." - Lin Yubing, Basic Transactions Team, Taobao Technology Department

Featured Products

Elastic Compute Service - ECSApsaraDB for OceanBase
01

About Taobao


Taobao.com is one of the world’s largest e-commerce websites. It currently has nearly 500 million registered users and has more than 60 million regular visitors every day. The number of products online per day has exceeded 800 million, and an average of 48,000 products are sold per minute. The favorites feature is very popular among Taobao (Tmall) users. When browsing Taobao.com, users add their favorite products or stores to favorites so that they can view these products or stores later. Users can also share their favorite products or stores with friends. The favorites feature of Taobao has served 800 million users and has a data volume of hundreds of terabytes.
02

Challenge


The write throughput of Taobao favorites is tens of millions per day. The maximum number of writes is tens of thousands per second. Queries of favorites are join queries of favorites records and product information. On average, each query involves hundreds of favorites records. During the Double 11 Shopping Festival, up to hundreds of thousands of favorites records are queried per second. The favorites feature has high requirements on database performance.
03

Why Alibaba Cloud?


ApsaraDB for OceanBase allows the data of a single table to be distributed across dozens of affordable micro-servers. These servers support high-intensity writes every day, which ensures optimal write performance. ApsaraDB for OceanBase has been deployed across three data centers for disaster recovery. If one data center fails, user access is not affected. The materialized view feature provided by ApsaraDB for OceanBase eliminates the need for join queries and improves the query capability of the database by dozens of times. This ensures that users are satisfied with their experience when querying favorites during the Double 11 Shopping Festival.