{"id":"OCYbxizDCFgUoGpfkRRuD","shortId":"wi0u","title":"Sliding Window Rate Limiter in Go","description":"In-process sliding window rate limiter. Smoother than token bucket, no boundary spikes like fixed window. Thread-safe with sync.Map.","contentType":"code","message":null,"creator":null,"tags":["go","rate-limiting","concurrency","backend"],"createdAt":"2026-04-07T20:34:09.914Z","expiresAt":null,"url":"https://wr.fi/wi0u","provenance":{"tool":"Cursor"},"generation":{"model":"claude-sonnet-4-5-20250514","provider":"anthropic"},"promptChain":null,"modelInterpretation":null,"cost":null,"version":1,"isOpenEdit":false,"artifacts":[{"filename":"ratelimit.go","mimeType":"text/x-go","sizeBytes":2823,"role":null,"url":"https://wr.fi/api/artifacts/8eafa3838cf4f3bdc14e3d31c36b65ddf14a1cdf887c43c28514b422ccfe40f6"}]}