Question bank

No. 52 · Security & reliability

Design defensive detection and containment of coordinated bot traffic

Expert50 minSecurity · Stream processing · Rate limiting · Time windows · Counting & aggregation · Caching

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Partial reading

Vetted reading covers part of the design or the underlying paper, not the whole problem. Links go to other sites; we credit and describe them rather than copy them.

No public end-to-end walkthrough of the defensive design was found. The catalog's links were about building a botnet or crawler fleet, so they were dropped; our worked approach covers detection and containment.

  1. Cloudflare Bot Management: machine learning and more

    Cloudflare Blog · Alex BocharovEngineering blogPartialFreeVetted

    A real defensive architecture: a per-request detection module at the edge with a tight latency budget, several detectors (heuristics, ML, behavioral) combined into one score, and a feedback loop. The best match for this question; it is Cloudflare-scale and light on containment workflows.

    Link checked 2026-12-06

  2. Credential Stuffing Prevention Cheat Sheet

    OWASP Cheat Sheet SeriesDocsBackgroundFreeVetted

    Defense-in-depth for the most common bot attack on logins: MFA, CAPTCHA, IP reputation, device and connection fingerprinting, leaked-password checks and user notification. Gives you the containment menu; no detection pipeline design.

    Link checked 2026-12-06

  3. OWASP Automated Threats to Web Applications

    OWASP FoundationDocsBackgroundFreeVetted

    A shared taxonomy (scraping, credential stuffing, scalping, carding and more) for naming which abuse you are defending against during requirements. Reference material, not a design.

    Link checked 2026-12-06

  4. Amazon | System Design | Web Crawler Detector

    LeetCode DiscussDiscussionInterview reportFreeVetted

    A candidate's account of an Amazon round on detecting bots and crawlers on a large shopping site, including the interviewer's follow-ups on false positives and scale. Evidence and a prompt, not a vetted solution.

    Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)

  5. Advancing Threat Intelligence: JA4 fingerprints and inter-request signals

    Cloudflare BlogEngineering blogBackgroundFreeVetted

    Why TLS fingerprinting moved from JA3 to JA4 and how inter-request signals add behavior to a fingerprint. Good depth for the "how do you tell a script from a browser" follow-up.

    Link checked 2026-12-06

Report a bad or misleading link

Reference audit: 0 of 4 links from the audited catalog kept
  • static.googleusercontent.com/media/research.google.com/en//archive/map Off-topic for the defensive framing: MapReduce is about coordinating batch work across machines, not detecting or containing bot traffic.
  • leetcode.com/discuss/post/1375361/botnet-system-designfacebook-design- Study notes on how botnets and their command-and-control are built; the prevention section is a short generic list. Offensive framing, so it does not serve this question.
  • leetcode.com/discuss/post/850071/lyft-virtual-onsite-design-bots-to-do Interview report for an offensive variant (a bot fleet that evades Wikipedia's per-IP throttling); not equivalent to detecting and containing bot traffic.
  • teamblind.com/post/System-design-for-Botnet-5x0Mq34z Thread of jokes and offensive suggestions with no design content; one comment mentions a crawler-on-a-botnet question, which is not the defensive framing.

We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.

COMPANY EVIDENCE · NOT A FREQUENCY CLAIM

Where it has been reported

Candidate reports

Catalog tags (unverified)

Meta (Facebook)Lyft

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

Related questions