Rate Limiting
Per-IP, per-user, per-API-key rate limits using Laravel's RateLimiter or a custom Redis-backed sliding window. Different limits for read vs write endpoints, with 429 + RFC 7807 problem responses including Retry-After headers. Throttled login routes block credential stuffing at the application layer.
Projects
- Inkwell — Form Submission API2026-06-09
HTML form ingestion API with spam scoring, multi-destination fan-out (email/Slack/HubSpot/etc), and a 3 KB JS widget.
- Pennant — Feature Flags2026-06-08
Feature-flag API with real-time SSE broadcasts, two SDKs, and a Filament admin where the buyer actually wants to live.
- Webhook Relay2026-06-07
Production-shaped webhook delivery API with HMAC signing, exponential backoff retries, dead-letter queue, and 4 language SDKs.
Packages (20)
- @philiprehberger/dart-debouncedart
Debounce and throttle utilities with Stream transformers and cancellation
- @philiprehberger/dart-rate-limiterdart
Token bucket, sliding window, and fixed window rate limiting for async operations
- @philiprehberger/dotnet-debouncedotnet
Debounce and throttle functions for .NET with configurable delay, leading/trailing edge, and async support.
- @philiprehberger/dotnet-rate-limiterdotnet
In-memory rate limiting with fixed window, sliding window, and token bucket algorithms.
- @philiprehberger/ex-rate-limiterelixir
In-process rate limiter with token bucket and sliding window algorithms
- @philiprehberger/go-ratelimitgo
Token bucket rate limiter for Go with per-key limiting and HTTP middleware. Zero external dependencies
- @philiprehberger/kt-rate-limiterkotlin
Coroutine-native rate limiting with token bucket, sliding window, and fixed window algorithms.
- @philiprehberger/laravel-rate-limiterphp
Advanced rate limiting with sliding window, token bucket, and per-entity controls for Laravel
- @philiprehberger/py-debouncepython
Debounce and throttle decorators for Python functions.
- @philiprehberger/py-rate-limiterpython
In-memory rate limiter with sliding window, token bucket, and leaky bucket algorithms.
- @philiprehberger/rb-debounceruby
Debounce and throttle decorators for Ruby method calls
- @philiprehberger/rb-rate-limiterruby
In-memory rate limiter with sliding window and token bucket
- @philiprehberger/rb-token-bucketruby
Thread-safe token bucket rate limiter with configurable capacity, refill rate, and refill strategy
- @philiprehberger/rs-rate-limiterrust
Token bucket, sliding window, and fixed window rate limiting
- @philiprehberger/debounce-tstypescript
Typed debounce and throttle with cancel, flush, and pending state
- @philiprehberger/rate-limittypescript
In-memory rate limiting for Node.js API routes with configurable windows and presets
- @philiprehberger/react-form-hookstypescript
Lightweight form management hook with Zod validation, debounced field validation, and common validators
- @philiprehberger/react-hookstypescript
Reusable React hooks - scroll lock, focus trap, swipe gestures, debounce, keyboard shortcuts, image preloading, and more
- @philiprehberger/ts-debounce-promisetypescript
Debounced async functions that return the latest promise result
- @philiprehberger/ts-throttletypescript
Configurable throttle with leading/trailing edge control and AbortSignal support