Claude

API Rate Limiter Designer

Prompt
Act as a backend systems engineer. Design a rate limiting system for [API] using token bucket algorithm. Include Redis implementation, per-user and per-IP limits, graceful degradation, response headers (X-RateLimit-*), and bypass rules for premium users.

How to use this prompt

  1. Copy the prompt above using the copy button

  2. Open Claude and start a new conversation

  3. Paste the prompt and replace [bracketed variables] with your specifics

Look for [placeholder] text in the prompt — replace these with your specific details for best results.

Related Topics

1,108 copies401 upvotes