0PricingLogin
System Design Basics for Backend Developers · Lesson

DDoS Protection & Firewalls

Learn strategies and tools to protect your system from Distributed Denial of Service (DDoS) attacks and configure firewalls.

Understanding DDoS Attacks

Imagine many people calling a small shop at once, trying to order. If too many call, no one can get through, and the shop can't serve real customers.

This is similar to a Distributed Denial of Service (DDoS) attack. It's an attempt to make an online service unavailable by overwhelming it with traffic from multiple sources.

The goal is to exhaust system resources, causing legitimate users to be denied access to the service.

Types of DDoS Attacks

DDoS attacks aren't all the same. They can target different layers of a system:

  • Volumetric Attacks: These try to consume all available bandwidth with huge amounts of traffic, like a flood.
  • Protocol Attacks: These exploit weaknesses in network protocols (like TCP/IP) to exhaust server resources, often by sending malformed or excessive requests.
  • Application Layer Attacks: These target specific web application vulnerabilities, aiming to crash servers or consume application resources with seemingly legitimate but resource-intensive requests (e.g., constantly searching a database).

All lessons in this course

  1. Authentication & Authorization
  2. Data Encryption & Privacy
  3. DDoS Protection & Firewalls
  4. Rate Limiting and Throttling
← Back to System Design Basics for Backend Developers