Traffic Spikes, Autoscaling & DDoS
Side-by-side scenario modeling, auto-scaling cooldown math, and priority load-shedding hierarchy.
Side-by-Side Scenario Comparison Matrix
Computed live across all 5 models| Metric | Normal ✓ | Flash Sale | Black Friday | Cyber Monday | DDoS |
|---|---|---|---|---|---|
| Spike Multiplier | 1x | 5x | 10x | 15x | 100x |
| Peak API RPS | 6,667 | 33,333 | 66,667 | 100,000 | 666,667 |
| Gateway Pods (N+1 AZ) | 9 pods | 12 pods | 27 pods | 39 pods | 24 pods |
| Total App Fleet Pods | 29 pods | 32 pods | 47 pods | 59 pods | 44 pods |
| Kafka Brokers | 3 nodes | 3 nodes | 3 nodes | 3 nodes | 3 nodes |
| Actual Database QPS | 4,800 QPS | 10,800 QPS | 30,000 QPS | 43,200 QPS | 24,000 QPS |
| Monthly Infra Cost | $16,472 | $23,629 | $42,531 | $54,644 | $28,078 |
Graceful Degradation: 5-Tier Priority Load Shedding Ladder
Payment processing, Order placement, Auth verification
Cart modifications, Checkout reviews, Inventory reserve
Search auto-complete, Recommendations, Related items
Customer reviews, Q&A sections, Image high-res zoom
Real-time analytics, Personalized banners, Audit tracking
7-Layer Deep DDoS Defense Architecture
CloudFront & Cloudflare Anycast DDoS absorption (100+ Tbps capacity)
Rate-based rules (e.g. 2000 req/5min per IP), SQLi/XSS managed rule sets
SYN flood absorption, connection limits, TLS termination offload
Redis token bucket rate limiter (10/100/500 RPM tiers)
Envoy circuit breakers per backend service with outlier detection
Max concurrent thread pools isolating Payment from Search traffic
PgBouncer strict max client bounds to fail fast instead of queueing