How Alibaba Cloud Redis Made the Double 11 Shopping Festival Possible

Supporting Live Streams to Work Anywhere

Live streams also saw a peak in traffic during the 11.1.1 global shopping festival. Alibaba Cloud Redis helped to make live streams. The live streaming platform writes two pieces of data for each comment: the index and the user comment. The index uses the SortedSet data structure of Redis to sort the comments, while the comment content itself uses the Hash storage. To obtain a comment, the index is read first, then the corresponding Hash is accessed to obtain the comment list. The process of writing a comment is as follows:

Providing Order Fulfillment Solution

After an online shopper buys an item during the Double 11 shopping festival, a corresponding logistics order is created. For orders processed by Alibaba’s Cainiao warehouse and logistics system, the decision making system generates an order fulfillment plan based on order information so that each stage of warehouse and logistics works intelligently with each other. The plan specifies the time for issuing the order to the warehouse, the time for outbound delivery, the time for item collection, and the time for delivering the item. The document fulfillment center carries out each stage of logistics services against the fulfillment plan. Due to the limited capacities of warehouses and logistics, documents to be processed first are orders considered to be of the highest priorities. Therefore, orders are sorted by priorities before being issued. ApsaraDB for Redis helps to make all this happen by sorting logistics orders and determining their priorities.

Supporting Community Interaction

The Weitao Community is the major social media aspect of e-commerce platform Taobao. With Weitao, Taobao users can specify their follow lists and shops have data about their followers. The overall social relation is as shown below.

Supporting Double 11 Data Dashboards

During the Double 11 global shopping festival, the media center data dashboard with the highest output rate, as well as the monitoring data dashboard of many technical and business modules, are available. This type of dashboard not only requires high real-time data, but also requires high reliability. Once an exception occurs, it can be quickly displayed through the dashboard.

  • Data Cache
  • Lock Contention

Supporting Transparent Data Center Migration

Before the Double 11 shopping festival, the business in Alibaba Group Shanghai data center was migrated to Zhangbei data center. This involved hundreds of Redis instances. At the same time, this migration also needed to meet the following requirements:

  1. The migration of the Redis service needed to be transparent to business operations, so not to affect normal services.
  2. Data consistency must be ensured without loss or duplication.
  3. For data synchronization, it is necessary to have the resumable upload function.
  4. A rollback solution is available to switch back at any time in case of business switching problems.

Conclusion

Redis is an excellent open-source database that provides more convenient data models for developers that can be used even in demanding scenarios. Alibaba Cloud Redis is committed to providing stable and high-performance Redis service. Developers are welcome to use the Alibaba Cloud Redis service.

Original Source

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com