Skip to content

What are rate limits for API? #591

Answered by matej21
iBobik asked this question in Support
Aug 16, 2023 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Hello,

Let me provide some insights:

  • Hard limit on Nginx level: Our infrastructure employs two nginx instances. Each instance is set up to allow 50 requests per second for your project, so in total, you're looking at 100 r/s. Importantly, nginx's limit_req directive is set with parameters burst=200 and delay=60. This configuration allows for brief spikes in traffic – any excess requests beyond the rate limit will either be buffered and slowed down to fit within the allowed rate.

  • Handling Rate Limits: When the rate limit is exceeded, the system will return a '429' status code. This indicates you've reached the rate limit and should adjust your request frequency.

  • Query Complexity Matters

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@iBobik
Comment options

@honzasladek
Comment options

@osseonews
Comment options

@honzasladek
Comment options

Comment options

You must be logged in to vote
1 reply
@iBobik
Comment options

Answer selected by iBobik
Comment options

You must be logged in to vote
1 reply
@matej21
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants