How Kuaishou Scales Live Flash Sales with Elastic Container & Hybrid Cloud
Kuaishou tackles massive live‑e‑commerce flash‑sale traffic by combining an elastic Docker‑based container cloud with a hybrid private‑public cloud architecture, enabling rapid scaling, high concurrency handling, and cost‑effective resource management.
Kuaishou is a short‑video app with 376 million daily active users, 673 million monthly active users, over 311 billion mutual follows, and 8 billion daily interactions, requiring massive data‑center and server‑cluster capacity.
The biggest technical challenge is live streaming, especially flash‑sale (秒杀) scenarios where millions of users simultaneously place orders; a single product can receive millions of requests and order‑submission traffic spikes to more than 90 times normal levels.
To cope, Kuaishou employs a distributed system architecture with load balancing, caching, message queues, rate‑limiting queues, hot‑cache optimization, and enhanced data‑center server capacity, along with intensive monitoring and performance tuning.
Kuaishou built an elastic container cloud on Docker that automatically expands and contracts container instances according to business demand, allowing rapid scaling during flash‑sale peaks and automatic shrinkage afterward to save resources.
The platform adopts a hybrid cloud model with Alibaba Cloud, connecting private and public clouds via dedicated lines. Public‑cloud resources are integrated into internal zones, non‑hot‑cache services are expanded to Alibaba Cloud, and fast failover is achieved through zone‑level traffic switching. Image repositories and P2P download mechanisms accelerate container startup in public‑cloud data centers.
The hybrid‑cloud scheduling platform provides capabilities such as adding 100 000 CPU cores to the container cluster within 30 minutes, unified management of private‑ and public‑cloud resources, and intelligent scheduling that prioritizes cloud resources for burst scaling and releases them after events.
During a major 2023 V‑stream promotion, Kuaishou’s elastic container cloud leveraged Alibaba Cloud to add tens of thousands of CPU cores, doubling order‑throughput capacity and handling up to one million requests per second while maintaining 100 % availability.
This deep technical integration demonstrates the effectiveness of Kuaishou’s elastic container cloud for high‑peak elasticity, provides a cost‑effective scaling solution, and positions Kuaishou as a leader in live‑e‑commerce technology.
Kuaishou Big Data
Technology sharing on Kuaishou Big Data, covering big‑data architectures (Hadoop, Spark, Flink, ClickHouse, etc.), data middle‑platform (development, management, services, analytics tools) and data warehouses. Also includes the latest tech updates, big‑data job listings, and information on meetups, talks, and conferences.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.