// press βΆ Send request, then π₯ Boundary burst
virtual clock Β· one tick = 1sfixed window
Config
limit / window
key
per key
One interface, five algorithms
The call is always limiter.allow(key). Press βΆ Send request a few times, then π₯ Boundary burst β first under πͺ Fixed, then under βοΈ Sliding counter.
βΈ Same 10 requests, five algorithms β only one of them lets all ten through.