# Distributed denial of service (DDOS)

This is the most problem that hacker use to attack our server. DDOS is the way that hacker try to send a lot of request to our server such as 1,000,000 request/minitues and If our server does not have any protection it will affect to CPU , DB or other .

<img src="https://2166680554-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FP9VzT74ziIucCaJgfreE%2Fuploads%2FcbXA8NPZgQWP2UWtZ1h3%2Ffile.excalidraw.svg?alt=media&#x26;token=0f7085d9-d866-48da-8049-5d983775a376" alt="" class="gitbook-drawing">

**How to Protect**

1. Use `RateLimit` to limit the request
2. Use `Cloud Protection`  such as `AWS shield`  or `Cloudfare`
