Getting ChatGPT to Write Accurate Rate Limiting Middleware Without Gaps
ChatGPT can scaffold rate limiting middleware in minutes, but the default output skips distributed counters, race conditions, and bypass vectors that will bite you in production. Here's how to prompt your way to middleware that actually holds up.