Skip to content

The "Placebo" Rate Limiter #2

@ptscknit

Description

@ptscknit

Task 2: The "Placebo" Rate Limiter

Problem

The server includes a rate limiting mechanism, but it does not actually block excessive or abusive traffic.
Requests beyond the allowed threshold continue to pass through as if no limiter exists.

Points: 60

Steps to Reproduce

  1. Start the server
  2. Send rapid consecutive requests (via script or load-testing tool)
  3. Observe the rate limiter’s supposed threshold
  4. Notice: Requests are never blocked or throttled, even when limits are exceeded

Expected Behavior

The rate limiter should:

  • Track requests per IP or client
  • Enforce defined limits (e.g., X requests per minute)
  • Block or throttle clients exceeding the threshold
  • Return proper HTTP error codes (e.g., 429 Too Many Requests)

Submission Guidelines

  1. Comment on this issue with your proposed solution approach
  2. Wait for issue assignment from reviewers
  3. Create a PR with clear commit messages
  4. Reference this issue in your PR description

Metadata

Metadata

Assignees

No one assigned

    Labels

    Mediummedium issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions