DDoS
A distributed denial-of-service (DDoS) attack uses traffic or requests from many sources to overwhelm a service, so legitimate users get errors or cannot get a response.
Also known as: DDoS-атака
What DDoS means
A distributed denial-of-service attack targets availability: it makes a website, API, or network service slow or unreachable. The attacker does not need to sign in or steal data to cause an outage. The defining feature is that the load comes from many sources, so blocking one address rarely restores service.
What gets overwhelmed?
Start by asking where requests stop making progress. If the inbound network link is full, legitimate traffic can be dropped before it reaches the servers. If a proxy runs out of connection capacity, it may stop accepting new clients even though the link has room. And if the bottleneck is in the application or a dependency, requests can reach the service but spend so long waiting for resources that they time out. These failures look similar to users, but they call for different defenses.
Example: the CDN looks healthy, but the API does not
During an incident, a ticketing site still serves its cached pages, but customers cannot check seat availability. Edge metrics show that bandwidth is within its normal range. Application traces show requests waiting for a database connection, and the connection pool is full. That tells the on-call engineer where the service is getting stuck, not whether someone is attacking it. A scheduled ticket release can produce the same symptoms. Comparing the affected routes, request patterns, and timing with past releases helps the team assess what happened without mistaking every traffic spike for an attack.
Match the defense to the bottleneck
If the access link is already saturated, dropping requests in the application is too late: the traffic has crossed the link. An upstream provider can filter it before it reaches that bottleneck. If the network still has capacity but the backend is overloaded, a CDN can serve cacheable responses, and a gateway can enforce request limits or limit concurrent work before it reaches a shared dependency. A per-IP limit is only one signal: many legitimate users may share an address, while distributed traffic may come from many addresses. Autoscaling also has limits. Adding API instances can make things worse if they all open more connections to the same saturated database.
How it comes up in interviews
Backend, infrastructure, and SRE interviews often frame DDoS as an incident: timeout rates are climbing, but the cause is unclear. Explain what you would check at the edge, the application, and its dependencies. Then name a mitigation for the bottleneck you found and explain how you would verify that legitimate requests are succeeding again.