Learning Centre

HTTP Flood DDoS Attack

An HTTP flood is a distributed denial-of-service attack that targets the web application layer rather than simply trying to fill an internet link with traffic. The attacker sends large numbers of HTTP requests toward pages, APIs, or functions that require the application to do work. From a distance, many of those requests can resemble ordinary browsing. That is what makes HTTP floods difficult: defenders must reduce abusive load without turning away real users who are using the same routes.

The term covers a range of behaviour. Some floods concentrate on simple page requests. Others focus on expensive actions such as search, login, checkout, file generation, API queries, or pages that bypass cache. Some attacks use many sources. Others rely on fewer sources but make each request costly. HTTP/2 and HTTP/3 deployments can add more visibility questions because connection behaviour, multiplexing, and protocol handling may matter as much as raw request totals.

Why HTTP floods hurt applications

Network-layer floods usually attempt to saturate bandwidth or infrastructure. An HTTP flood tries to exhaust the systems behind the website: web workers, application threads, database pools, cache fill paths, queues, logging pipelines, or downstream services. A single request to a static asset may be cheap. A single request that performs a search, checks inventory, loads a personalised account page, or calls multiple internal services may be expensive. When that expensive route is repeated at scale, the origin can slow down even if bandwidth looks manageable.

This is why application context is essential. Ten thousand requests to a cached image are not equivalent to ten thousand requests to an uncached product search. A route that is safe during ordinary traffic may become risky during a flood because it creates cache misses, locks a shared table, triggers a third-party API call, or produces large responses. Defenders need to know not just how many requests arrived, but what work those requests caused.

Signals to investigate first

Useful indicators start with route-level changes. Look for sudden concentration on a small set of URLs, unusual method mixes, abnormal query patterns, elevated cache misses, or many requests that do not progress through a normal user journey. Error rates can also help: 429 responses may show rate controls activating, while 502, 503, or 504 responses may show upstream exhaustion. A rise in client-aborted requests can indicate that users or automated clients are giving up before the application responds.

Application telemetry should be reviewed alongside access logs. Check response time by route, database latency, worker saturation, queue depth, memory pressure, and downstream timeout rates. If an HTTP flood targets login, support, checkout, or account APIs, also watch authentication failures, session creation rates, password reset volume, and fraud controls. DDoS response can overlap with account-abuse response, but the goals are different: availability protection focuses on keeping the service usable under pressure.

Source signals are helpful but incomplete. IP address, ASN, geography, headers, TLS characteristics, cookie behaviour, and browser fingerprints can all contribute to classification. None should be treated as proof by itself. Real users can share networks, attackers can rotate sources, and legitimate integrations can have unusual headers. Stronger decisions combine source, route, session, rate, and resource-cost context.

Mitigation concepts that reduce pressure

The most effective HTTP flood defences are layered. Caching can remove safe, repeatable requests from the origin path. Rate limits can control request velocity by route, identity, session, token, network, or other context. Bot and browser-behaviour signals can separate automated traffic from ordinary user journeys. Web application firewall rules can block malformed or exploit-like requests. Origin shielding, load balancing, queue controls, and graceful degradation can keep the application responsive when some routes are under pressure.

Mitigation should be route-aware. A homepage, a product page, a login endpoint, and a search API do not have the same risk tolerance. A strict limit that is reasonable for password reset may be wrong for a public article page. A cache policy that works for anonymous content may be unsafe for account pages. During planning, teams should classify routes by business criticality, cacheability, expected traffic pattern, authentication state, and cost to serve.

It is also important to define emergency modes. During an active flood, teams may temporarily serve stale content, disable expensive filters, limit anonymous search, queue noncritical jobs, or require stronger checks on sensitive routes. These actions should be documented before they are needed, including who can approve them and how to roll them back.

Evaluation and tuning

Good evaluation asks two questions: did the control reduce harmful load, and did it preserve legitimate traffic? Request counts alone do not answer either question. Review origin CPU, database load, p95 and p99 response times, error rates, conversion or login success, support complaints, and the percentage of traffic served from cache. A mitigation that lowers total requests but increases customer failures may need tuning.

False positives deserve special attention. Shared corporate networks, mobile carriers, accessibility tools, search crawlers, partner integrations, and payment callbacks can all look unusual in narrow logs. Teams should maintain allow rules or alternate handling for known critical integrations, but those exceptions should be reviewed and scoped. An allowlist that is too broad can become a bypass during the next event.

Common misconceptions

One misconception is that an HTTP flood must be huge to be dangerous. In reality, the dangerous part is often the cost ratio between the request and the work it triggers. Another misconception is that a content delivery network alone solves every HTTP flood. Edge caching helps greatly when content is cacheable, but dynamic routes still need rate, bot, application, and origin controls. A third misconception is that the best response is to block entire countries or networks. Broad blocks may reduce traffic quickly, but they can also create avoidable business harm and may miss distributed sources.

HTTP flood defence is ultimately an availability discipline. Teams need accurate route telemetry, layered controls, prepared emergency modes, and post-incident review. The goal is not to make every abusive request visible by hand. The goal is to understand where the application is expensive, put controls close to the edge where possible, and keep legitimate user journeys working while attack pressure is absorbed or rejected.

Related Articles

AI Crawler User Agents

A practical reference for common AI crawler user agents, operators, purposes, and recommended Peakhour bot-management actions.

AI For Cybersecurity

AI For Cybersecurity explains the concept in the context of AI security, with practical checks and mitigation considerations for site operators.

AI Image Generation

AI Image Generation explains the concept in the context of AI security, with practical checks and mitigation considerations for site operators.

© PEAKHOUR.IO PTY LTD 2026   ABN 76 619 930 826    All rights reserved.