Inside Azure's DDoS Defense | Behind the Code

Karthik Uthaman, principal software engineer in Microsoft’s Azure Front Door group, takes the engineering problem to the whiteboard. The discussion follows how a shared content delivery service can identify harmful traffic while keeping legitimate requests flowing.

Resource protection and traffic analysis

Distributed denial-of-service (DDoS) attacks overwhelm a service by exhausting resources such as CPU, memory, and network capacity. Uthaman discusses resource-based defenses that go beyond individual attack vectors, alongside amplification attacks, HTTP/2, and AI’s role in protocol vulnerability discovery.

The whiteboard examples examine the relationship between requests per second (RPS) and CPU utilization, then turn to finding the top traffic contributors in a multi-tenant service. Probabilistic data structures support top-K traffic analysis and real-time, inline processing.

Distinguishing malicious traffic from real users

Per-IP rate limiting alone cannot distinguish all legitimate traffic from malicious automated requests. The discussion introduces additional signals:

Protecting real users on compromised devices is part of the challenge: identifying suspicious traffic must not automatically mean penalizing every legitimate request from the same device. The episode closes with a look at shared defense efforts across Microsoft teams.

Video chapters

Resources