API Rate Limit & Queue Capacity Calculator
Size queue buffer depth, burst drain time, worker concurrency and backoff against API rate limits and latency. Free, in your browser.

Your estimate
Sustainable throughput (events/min): 228.6 /min (13,714/hr at 80% cap · API rate limit is the bottleneck). Peak burst deficit: 371.4 events/min. Required queue buffer depth: 5,572 events. Post-burst drain time: 43.3 min. Recommended worker concurrency: 2 workers. Recommended backoff strategy: Exponential + full jitter (5x). Running 5 concurrent workers (more than 2x the recommended 2) risks 429 storms unless gated by a shared token-bucket rate limiter. Queue memory assumes ~4 KB per buffered job (serialized JSON plus Redis/BullMQ overhead). Store large payloads in object storage and enqueue pointers only
- Sustainable throughput (events/min)
- 228.6 /min13,714/hr at 80% cap · API rate limit is the bottleneck
- Peak burst deficit
- 371.4 events/minAccumulates over 15 peak min
- Required queue buffer depth
- 5,572 events~21.77 MB Redis / RAM
- Post-burst drain time
- 43.3 min
- Recommended worker concurrency
- 2 workersCurrent: 5 (Little's Law)
- Recommended backoff strategy
- Exponential + full jitter (5x)Exponential backoff with full jitter (2s, 4s, 8s, 16s, 32s), honor Retry-After and route to DLQ after 5 attempts.
Show comparison data
| Item | Value | Note |
|---|---|---|
| Conservative (60% RPM cap) | 171.4 events/min | Peak buffer: 6,429 · drain: 90 min · 2 workers |
| Balanced (80% RPM cap) | 228.6 events/min | Peak buffer: 5,572 · drain: 43.3 min · 2 workers |
| Aggressive (95% RPM cap) | 271.4 events/min | Peak buffer: 4,929 · drain: 28.8 min · 3 workers |
| Utilization policy | Events/min | Events/hr | Peak buffer | Queue RAM (MB) | Drain time | Rec. workers |
|---|---|---|---|---|---|---|
| Conservative (60% RPM cap) | 171.4 | 10,286 | 6,429 | 25.11 | 90 min | 2 |
| Balanced (80% RPM cap) | 228.6 | 13,714 | 5,572 | 21.77 | 43.3 min | 2 |
| Aggressive (95% RPM cap) | 271.4 | 16,286 | 4,929 | 19.25 | 28.8 min | 3 |
Running 5 concurrent workers (more than 2x the recommended 2) risks 429 storms unless gated by a shared token-bucket rate limiter.
Queue memory assumes ~4 KB per buffered job (serialized JSON plus Redis/BullMQ overhead). Store large payloads in object storage and enqueue pointers only.
Effective API ceiling is RPM x (100% minus safety headroom). Worker ceiling via Little's Law is concurrency x (60,000 / latency ms). Sustainable throughput is min(API ceiling, worker ceiling) divided by (1 + retry rate). Peak buffer depth is burst deficit per minute times burst duration, and drain time is buffer depth divided by post-burst net drain rate.
Reviewed specialists
Browse source-backed specialists alphabeticallyHow the estimate works
Sustainable call throughput is the minimum of (API RPM x utilization cap) and Little's Law worker throughput (concurrency x 60,000 / latency ms), divided by (1 + retry rate). Peak deficit times burst duration gives required buffer depth (modeled at 4 KB per serialized job for Redis/RAM). Drain time divides the buffered backlog by post-burst spare capacity; if sustained arrival meets or exceeds sustainable capacity, the queue grows unboundedly.
Frequently asked questions
Why keep 20% safety headroom below the API rate limit?
Third-party rate limits often apply per workspace or API key across multiple integrations, and short bursts or retry waves easily trigger 429 throttling. Running at an 80% cap leaves room for retries without cascading timeouts.
How does Little's Law determine worker concurrency?
Concurrency equals target requests per second multiplied by average response time in seconds. Too few workers waste available API quota; too many workers without a central token bucket trigger 429 storms.
What should we do when sustained load exceeds sustainable capacity?
A larger queue only delays the crash. Switch to batch/bulk API endpoints, filter or deduplicate events before enqueueing, cache repeat lookups or negotiate a higher rate limit tier with the vendor.



