~/joshpalacios.com/lab/rate-limiter
josh@palacios:~$
~$ cd ..
~$ ./lab/rate-limiter

rate limiter

sliding-window burst cap wired to the rooms durable object limits

demonstrates: sliding window · LIMITS.burst
ready 0/6 in 6s
remaining: 6 · do limit: 6/60s

Mirrors the per-IP sliding window in Room.append() (6 posts per window, scaled to 6s). Accepted timestamps slide left until they age out; requests beyond the cap return 429 with a live retry-after countdown.

~$ cat blog/are-you-a-bot.md →