Capacity Planning with Stress Testing
summary
MOGU runs stress tests against a 1,000+ Java microservice estate using a customized open‑source driver and thousands of slave agents that fire real HTTP traffic; single‑machine tests determine per‑host QPS, cluster sizing follows a formula, and full critical‑path tests ramp from 20% up to 120% of predicted peak to validate headroom. Test data is auto‑generated by a factory, write requests are flagged and routed to shadow tables/databases, tests run nightly at midnight, and failures trigger bottleneck fixes and retest.
AI-written summary · about
chapters (19)
- 0:00Intro
- 1:03Shopping Carnivals
- 1:39The Key Steps of Capacity Planning
- 1:57User and System Behaviors
- 2:38The Most Key Process of Estimation
- 2:49Derivation of Peak Order Creation Amount
- 4:31Estimation of Business Model
- 6:311K+ Distributed Java Apps and Services
- 8:03Strong and Weak Dependencies
- 8:48Critical Transaction Path
- 9:14Stress Testing Process
- 9:39Single Machine in Each App Cluster
- 12:27SLO Management of Capacity
- 12:54Single and Full Critical Path
- 14:19Automatic Generation of Script and Data
- 15:42Stress Testing Architecture
- 16:35Stress Testing Report
- 17:04System Emergency Protection
- 18:33Summary
related talks
35mStress Testing as a Culture
31mLoad Testing Kubernetes: How to Optimize Your Cluster Resource Allocation in Production [I]
46mChaos Experiments - Datacenter Stress Testing
31mUse Load Testing to Build a Proper Mental Model of Your Service
16mPerformance testing – under pressure!
37mExploratory Load-Testing with AI Tooling - it's Time to Ramp Up!
27mTesting Before You Scale & Making Friends While You Do It
50mPerformance Testing Java Applications
