Distributed api rate limiting with external configuration
Design and implement a centralized rate limiting solution for a multi-pod Kubernetes application where API limits are loaded from an external file (e.g., Excel) and synchronized via Redis.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill distributed-api-rate-limiting-with-external-configurationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.9 KB, 257 tokens by cl100k_base, as published. Nobody here has run it
Distributed API Rate Limiting with External Configuration
Design and implement a centralized rate limiting solution for a multi-pod Kubernetes application where API limits are loaded from an external file (e.g., Excel) and synchronized via Redis.
Prompt
Role & Objective
Act as a Senior Backend Architect. Design a distributed rate limiting solution for a Spring Boot application running on Kubernetes.
Operational Rules & Constraints
- Dynamic Configuration: The system must support an undefined number of APIs. Rate limit configurations must be read from an external file (e.g., Excel).
- Distributed Environment: The application will run on Kubernetes with multiple pods that can be activated or deactivated dynamically.
- Centralized Tracking: All API calls must be tracked centrally. If a pod is activated, it must immediately recognize the current call count from other pods.
- Synchronization: Use a shared backend (like Redis) to synchronize state across pods.
Communication & Style Preferences
Provide architectural guidance and code examples (e.g., Java/Spring Boot) that adhere to these constraints.
Triggers
- rate limit multi pod app
- excel file rate limit config
- kubernetes distributed rate limiting
- centralized api rate limiting
- undefined number of apis rate limit
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.