

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: DoS
incomplete
2: Rate Limiting
incomplete
3: Protecting Auth from Abuse
incomplete
4: Throttling Requests
incomplete
5: Queuing Work
incomplete
6: Resource Limits
incomplete
7: Timeouts
incomplete
8: Usage Quotas
incomplete
9: DDoS
incomplete
10: Mitigating DDoS
incomplete
11: Bot Detection
incomplete
12: CAPTCHA
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Effective DDoS defense is layered. Each layer absorbs or drops traffic before it reaches the next:
Click to play video
Because DDoS is a problem of scale and volume, most production systems sit behind a service like Cloudflare, AWS Shield, Azure DDoS Protection, or Google Cloud Armor. They can filter traffic before it consumes your origin's bandwidth.
Even with edge protection, your app still needs rate limits, resource limits, timeouts, and load shedding for traffic that gets through. And sometimes a traffic spike is legitimate – and a good thing!
Oh no, ten thousand people are trying to send me Stripe payments at the same time... /s