Add rate-limiter module: fixed window, sliding log/counter, token bucket (locked and lock-free), Redis Lua limiter, Spring Boot 429 interceptor
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4DPa89t5pSXDQHE6j
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
35ef0872de
commit
deb924febd
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Prints the boundary-burst comparison. Needs JDK 25 and Maven.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
mvn -B -q compile
|
||||
java -cp target/classes com.ankurm.interviewlab.ratelimiter.BoundaryBurstDemo 2>&1 | grep -v '^Picked up JAVA_TOOL_OPTIONS'
|
||||
Reference in New Issue
Block a user