Appearance
Step-by-Step Build Order
- Core Abstractions & Storage Contract: Define
RateLimiterStore,RateLimitResult, andClockinpackages/core/. - In-Memory Store Implementation: Build lock-free sliding window and token bucket maps in
packages/store-memory/. - Atomic Redis Lua Engine: Write and test Lua scripts for sliding window counter and token bucket in
packages/store-redis/. - Rate Limiting Algorithms: Implement mathematical formulas in
src/algorithms/. - Identity & Cost Resolver: Build client fingerprinting and route normalization in
src/identity/. - Express 5 Gateway Middleware: Construct non-blocking request interceptor in
src/gateway/. - React 19 Telemetry UI: Build monitoring dashboard in
apps/web/.