api-rate-limiting
CommunityRobust API calls with retries and rate limits.
Software Engineering#typescript#deduplication#batching#rate-limiting#retry#circuit-breaker#api resilience
AuthorNaw3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Mitigate unreliable external API calls by providing robust resilience patterns. It helps teams handle transient failures, throttle traffic, and isolate upstream outages.
Core Features & Use Cases
- Retry logic: Automatically retry transient failures with configurable backoff and jitter.
- Circuit breakers: Prevent cascading failures by opening the circuit when error rates rise, then half-open to test recovery.
- Request deduplication: Debounce in-flight identical requests to reduce unnecessary calls and contention.
- Rate limiting: Enforce token-bucket style limits to protect downstream services and manage throughput.
- Use Case: A service calling multiple external APIs can apply these patterns to improve reliability and maintain stable latency.
Quick Start
Initialize the resilience components in your service and begin using the provided APIs (Fetch with Retry, Circuit Breaker, Rate Limiter, and Batch Queue) to perform GET/POST requests with built-in fault tolerance.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: api-rate-limiting Download link: https://github.com/Naw3/skillsrepo/archive/main.zip#api-rate-limiting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.