go-client-rate-limiting
CommunityImplement efficient rate limiting for Go SDK clients.
AuthorPremModhaOfficial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the need to control API request rates in Go clients to prevent server overload and reduce client tail-latency by implementing token-bucket or leaky bucket rate limiting strategies with adaptive adjustments based on server feedback.
Core Features & Use Cases
- Rate Limiting: Incorporates token bucket (
rate.Limiter) for controlling request rates with support for bursts. - Adaptive Shaping: Adjusts request pacing dynamically based on
Retry-Afterheaders and server signals. - Per-Method Scoping: Enables distinct rate limits for different API endpoints, e.g., read vs write.
- Use Case: A developer integrates this Skill into their Go SDK to ensure compliance with API quotas, enforcing controlled request pacing and handling throttling responses gracefully.
Quick Start
Implement the rate limiter in your Go SDK by initializing a rate.Limiter with desired parameters and invoking its Wait(ctx) method before making API calls.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: go-client-rate-limiting Download link: https://github.com/PremModhaOfficial/sdk-pipeline/archive/main.zip#go-client-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.