|
|
|
Ask HN: How do you handle API rate limits in production?
|
|
3 points
by rjpruitt16
116 days ago
|
|
I'm building data pipelines that sync data from various third party apis. We constantly hit 429 rate limits, and our janky retry system fails regularly.
For those running production data syncs or microservices calling external APIs heavily: How do you handle rate limiting across multiple workers?
Do you use circuit breakers, retry libraries, or something custom?
How do you prevent retry storms when 100 workers all hit the same rate limit? Curious what's working at scale. |
|
Via this mechanism, you should be able to pause your worker fleet as it scales out as well as regulate its request rate while monitoring on health of the steady state interface between your workers and other systems.