Alipay Double 11 Architecture - Research Index

Tổng hợp nghiên cứu toàn diện về kiến trúc Alipay trong sự kiện Double 11, từ lịch sử 2009 đến công nghệ hiện đại 2024.


Danh Sách Tài Liệu

📚 Core Documents

FileMô TảĐộ DàiMục Tiêu
alipay-research-planResearch Plan Overview194 dòngLộ trình nghiên cứu tổng quan
alipay-phase1-timelineTimeline & Lịch Sử250 dòngHiểu bối cảnh: 2009 → 544K TPS
alipay-phase2-architectureKiến Trúc Kỹ Thuật400 dòngLDC, OceanBase, Distributed Systems
alipay-phase3-operationsQuy Trình Vận Hành300 dòngStress testing, Capacity planning
alipay-phase4-technologyCông Nghệ Chi Tiết425 dòngMiddle Platform, CTU, Payment flow
alipay-phase4-deep-diveDeep Dive Kỹ Thuật800 dòngSOFAStack, RocketMQ, Storage Engine
alipay-phase5-synthesisTổng Hợp & Bài Học350 dòngPatterns, Metrics, Decision framework
alipay-modern-tech-comparisonSo Sánh Công Nghệ Hiện Đại550 dòngvs Kubernetes, Kafka, gRPC, v.v.

Tổng: ~3,300 dòng nghiên cứu


🎯 Lộ Trình Đọc Theo Mục Tiêu

1. Executive Overview (30 phút)

👉 Đọc: Executive Summary (file riêng)

Phù hợp cho:

2. Technical Deep Dive (4-8 giờ)

👉 Đọc theo thứ tự:

  1. Phase 1: Timeline - Bối cảnh lịch sử
  2. Phase 2: Architecture - LDC, OceanBase
  3. Phase 4 Deep Dive - SOFAStack, RocketMQ
  4. Modern Comparison - So sánh công nghệ

Phù hợp cho:

3. Operations & Best Practices (2-4 giờ)

👉 Đọc:

  1. Phase 3: Operations - Stress testing
  2. Phase 5: Synthesis - Lessons learned

Phù hợp cho:

4. Full Comprehensive Study (1-2 tuần)

👉 Đọc tất cả các file theo thứ tự Phase 1 → 5 + Modern Comparison

Phù hợp cho:


📊 Quick Reference

Key Numbers

MetricValueContext
544K TPSPeak transactionsAlipay Double 11 2019
61M QPSQueries per secondOceanBase peak
707M tpmCTPC-C benchmarkWorld record
10M+ TPSMessage queueRocketMQ peak
200K+ TPSPer nodeSOFARPC performance
< 100msLatency P99CTU risk scoring
< 0.1%False positiveFraud detection
50%Cost reductionElastic architecture
60% → 95%ConfidenceSystem stability

Timeline Milestones

2009 ──┬── 50M CNY, 27 brands (Event đầu tiên)
       │
2012 ──┼── Khủng hoảng scale (Oracle limits, power crisis)
       │
2013 ──┼── LDC Architecture debut (20K TPS target)
       │
2014 ──┼── Automated stress testing (60% → 95% confidence)
       │
2015 ──┼── Middle Platform Strategy (大中台, 小前台)
       │
2016 ──┼── Elastic architecture (50% cost reduction)
       │
2019 ──┼── 544K TPS peak record
       │
2020 ──┴── Cloud-native full deployment

Technology Stack Summary

Frontend:     Mobile Apps, Web, Mini Programs
              ↓
Gateway:      Traffic routing, Rate limiting, Auth
              ↓
Services:     SOFAStack (SOFABoot, SOFARPC, SOFAMesh)
              ↓
Middleware:   RocketMQ, Tair (Cache)
              ↓
Data:         OceanBase, POLARDB, OSS
              ↓
Infrastructure: PouchContainer, Kubernetes, Alibaba Cloud
              ↓
Security:     Ant Shield, CTU Risk Control

🔍 Search Guide

Theo Chủ Đề

Chủ ĐềFileSection
LDC ArchitecturePhase 22.1 Logical Data Center
RZone/GZone/CZonePhase 22.1
OceanBasePhase 22.2; Phase 4 Deep Dive
Paxos ProtocolPhase 22.2
SOFARPCPhase 44.4; Phase 4 Deep Dive
RocketMQPhase 4 Deep Dive4.3
Stress TestingPhase 33.2
CTU Risk ControlPhase 44.2; Phase 4 Deep Dive
Payment FlowPhase 44.3
Modern Tech CompareModern ComparisonAll

Theo Use Case

Use CaseFileMục Tiêu
Design distributed systemPhase 2LDC patterns
Choose message queueModern ComparisonKafka vs RocketMQ vs Pulsar
Database migrationModern ComparisonOceanBase vs CockroachDB vs TiDB
Implement stress testingPhase 3Full-link testing guide
Build fraud detectionPhase 4 Deep DiveCTU architecture
Service mesh decisionModern ComparisonIstio vs Linkerd vs MOSN

💡 Key Takeaways by File

Phase 1: Timeline

Phase 2: Architecture

Phase 3: Operations

Phase 4: Technology

Phase 4 Deep Dive

Phase 5: Synthesis

Modern Comparison


🛠️ Tools & Resources

Open Source Projects

ProjectLinkDescription
OceanBasegithub.com/oceanbase/oceanbaseDistributed database
SOFAStackgithub.com/sofastackRPC, Mesh, Boot
RocketMQgithub.com/apache/rocketmqMessage queue
Seatagithub.com/seataDistributed transactions
PouchContainergithub.com/AliyunContainerService/pouchContainer runtime

External Resources

ResourceURLType
Alibaba Cloud Blogalibabacloud.com/blogArticles
OceanBase Blogen.oceanbase.com/blogTechnical
SOFAStack Docswww.sofastack.techDocumentation
Alipay PapersVLDB, SIGMODAcademic

Academic Papers

  1. “OceanBase: A 707 Million tpmC Distributed Relational Database System” (VLDB 2022)
  2. “Paxos Made Simple” (Lamport)
  3. “The Dataflow Model” (Google)

📈 Next Steps

Immediate Actions

Short Term (1-2 tuần)

Long Term (1-2 tháng)


📝 Changelog

DateFileChanges
2026-05-02All filesInitial creation
alipay-research-planResearch plan overview
Phase 1Timeline & history
Phase 2Architecture deep dive
Phase 3Operations & testing
Phase 4Technology overview
Phase 4 Deep DiveTechnical details
Phase 5Synthesis & lessons
Modern ComparisonTech stack comparison
This indexNavigation & organization

🤝 How to Use This Research

For Individual Learning

  1. Bắt đầu với Executive Summary
  2. Đọc Phase 1 để hiểu context
  3. Chọn Phase phù hợp với role của bạn
  4. Refer back khi cần specific details

For Team Sharing

  1. Share Executive Summary cho leadership
  2. Share relevant Phase với engineers
  3. Use Modern Comparison cho tech decisions
  4. Reference patterns từ Phase 5

For Implementation

  1. Use stress testing guide từ Phase 3
  2. Follow architecture patterns từ Phase 2
  3. Apply code examples từ Phase 4 Deep Dive
  4. Evaluate alternatives từ Modern Comparison

Research Status: ✅ Complete Last Updated: 2026-05-02 Total Lines: ~3,300 Estimated Reading Time: 8-16 hours (full)


“Nothing is impossible” - Alipay Engineering