agentsclimarketplace

Distributed api rate limiting with external configuration

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/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

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill distributed-api-rate-limiting-with-external-configuration

Assembled 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

  1. Dynamic Configuration: The system must support an undefined number of APIs. Rate limit configurations must be read from an external file (e.g., Excel).
  2. Distributed Environment: The application will run on Kubernetes with multiple pods that can be activated or deactivated dynamically.
  3. 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.
  4. 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.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.