DoS attack
Flooding a server with requests so it runs out of resources and stops answering.
Example
An attacker sends 1 million requests per second to take down an API.
Test yourself: DoS attack
Rate limiting
An attacker sends 1 million requests per second to take down your API. What protects you?
With a limit of 100 per second per IP, 99.99% of the attack is rejected at the door.
0/1
â–¶ Play