coo1estguy
ca95c8b917
perf(rate-limiter): add sliding-window token leasing to cut redis roundtrips
- Add LUA_LEASE_API_RATE_LIMIT script and register leaseApiRateLimit custom command
- Implement ApiRateLimiter with in-memory token leasing and 5s lease target
- Coalesce concurrent requests on depleted lease to avoid thundering-herd refills
- Prefill tokens immediately on minute bucket transition
- Add unit tests covering memory caching, pre-fetching, concurrency, and fail-open
2026-09-26 23:16:19 +05:30
..
2026-09-01 14:17:38 +05:30
2026-09-24 16:28:51 +05:30
2026-09-19 14:54:28 +05:30
2026-09-25 12:57:02 +05:30
2026-09-26 23:16:19 +05:30
2026-09-19 15:00:59 +05:30
2026-08-19 12:04:44 +05:30
2026-09-25 23:29:07 +05:30
2026-09-19 14:18:35 +05:30
2026-09-13 00:02:46 +05:30
2026-08-19 12:04:44 +05:30
2026-09-26 16:49:23 +05:30
2026-09-25 22:46:06 +05:30
2026-08-20 15:41:08 +05:30
2026-08-19 12:04:44 +05:30
2026-09-19 14:08:20 +05:30
2026-09-25 12:57:02 +05:30
2026-08-19 12:04:44 +05:30
2026-09-26 23:16:19 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-09-26 16:49:23 +05:30
2026-08-19 12:04:44 +05:30
2026-09-25 23:29:07 +05:30
2026-08-19 12:04:44 +05:30
2026-09-25 14:43:05 +05:30