All projects ·

API Rate Limiter & Usage Control System

A high-performance traffic control gateway and rate-limiting platform designed to protect backend APIs from abusive traffic spikes and resource…

A high-performance traffic control gateway and rate-limiting platform designed to protect backend APIs from abusive traffic spikes and resource exhaustion. Implements Token Bucket and Sliding Window algorithms with continuous fractional token replenishment, atomic concurrency mutex locking to prevent race-condition bypasses during simultaneous bursts, tiered plans (Free, Pro, Enterprise), variable endpoint cost weighting (1x to 5x), real-time quota reset countdowns, RFC-compliant HTTP 429 and X-RateLimit response headers, and automated threat quarantine for repeat offenders.

Built with: Rate Limiting Engine, Token Bucket Algorithm, Sliding Window Counter, Atomic Mutex Locking, Race Condition Prevention, Tiered Usage Plans, Endpoint Cost Weighting, Threat Auto-Quarantine, Supabase / PostgreSQL Schema, PL/pgSQL Atomic check_rate_limit(), Vanilla JavaScript, HTML5 / CSS3, Google Fonts (Sora, Outfit, Chivo Mono)

Open the live demo

Have something like this built