Answer-first: Kiến trúc Alipay Double 11 giải quyết bài toán tài chính 544.000 TPS và 61 triệu QPS nhờ mô hình trung tâm dữ liệu logic LDC (RZone/GZone/CZone), cơ sở dữ liệu phân tán OceanBase Paxos, middleware SOFAStack và hệ thống AI kiểm soát rủi ro CTU dưới 100ms.


💳 Alipay Double 11 Architecture — Research Hub

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 2025-2026 (bao gồm AI Pay & Autonomous Agents).


📚 Danh Sách Tài Liệu & Lộ Trình

📖 Core Documents & Modules

File / Bài ViếtMô TảMục Tiêu Kỹ Thuật
Alipay Learning PathKhung Học Tập Toàn DiệnBản đồ lộ trình học tập và tổng kết hệ thống Alipay Double 11
Executive SummaryTóm Tắt Khái Quát Cấp CaoBức tranh tài chính, kiến trúc LDC và bài toán quy mô
Research Plan OverviewLộ Trình Nghiên CứuKế hoạch phân tích 5 giai đoạn phát triển kiến trúc
Phase 1: Timeline & Lịch SửTiến Trình Lịch Sử (2009–2026)Diễn biến mở rộng từ 2009 đến đỉnh cao 544K TPS
Phase 2: Kiến Trúc Kỹ ThuậtLDC, RZone/GZone/CZone & OceanBasePhân vùng logic, đồng thuận Paxos và kiến trúc đa trung tâm
Phase 3: Quy Trình Vận HànhFull-Link Stress Testing & CapacityTự động hóa kiểm thử tải toàn diện trên production
Phase 4: Công Nghệ Chi TiếtMiddle Platform & CTU Risk ControlQuản lý rủi ro giao dịch AI trong 100ms và luồng thanh toán
Phase 4 Deep Dive: Kỹ Thuật Chuyên SâuSOFAStack, RocketMQ & StorageSOFARPC 200K+ TPS, hàng đợi 10M+ TPS và LSM-tree OceanBase
Phase 5: Tổng Hợp & Bài HọcDesign Patterns & FrameworkKhung kiến trúc bài học rút ra sau 17 năm vận hành
Modern Tech ComparisonSo Sánh Công Nghệ Hiện ĐạiOceanBase vs TiDB, RocketMQ vs Kafka, SOFARPC vs gRPC

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 - Diễn biến 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
       │
2025 ──┼── Alipay Tap! & AI-Driven Commerce (LLMs for Search/Recs)
       │
2026 ──┴── AI Pay & Autonomous Agents Integration

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
              ↓
AI & Agents:  LLM Recommendations, AI Pay, Autonomous Agents
              ↓
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)


❓ Câu Hỏi Thường Gặp (FAQ)

Kiến trúc LDC (Logical Data Center) của Alipay phân chia các Zone như thế nào?

LDC chia hạ tầng thành 3 loại Zone: RZone (Region Zone) xử lý các tài khoản người dùng được phân mảnh (sharded) độc lập; GZone (Global Zone) quản lý dữ liệu toàn cục dùng chung (như danh mục sản phẩm, tỷ giá); và CZone (City Zone) đóng vai trò cache đọc gần người dùng để giảm độ trễ liên vùng.

OceanBase đảm bảo tính nhất quán tài chính và độ trễ cực thấp trong ngày 11.11 ra sao?

OceanBase sử dụng giao thức đồng thuận Paxos phân tán kết hợp cấu trúc lưu trữ LSM-tree. Trong lúc cao điểm 11.11, toàn bộ các cập nhật được ghi vào MemTable trên RAM (cho độ trễ dưới 5ms), sau đó được merge xuống SSTable trên đĩa (compaction) vào ban đêm bằng bộ gia tốc phần cứng FPGA.

Hệ thống CTU (Risk Control) của Alipay phát hiện gian lận trong thời gian bao lâu?

CTU (Central Transaction Unit) thực hiện chấm điểm rủi ro và phát hiện gian lận qua mạng nơ-ron đồ thị (GNN) trên 8 chiều dữ liệu trong vòng dưới 100ms mà không làm gián đoạn trải nghiệm thanh toán của 544.000 giao dịch mỗi giây.

🔗 Series Liên Quan & Masterclass Đề Xuất


📝 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-08-16 Total Lines: ~3,300 Estimated Reading Time: 8-16 hours (full)


“Nothing is impossible” - Alipay Engineering