API Rate Limit - Definição do Glossário de CI/CD
API Rate Limit: um api rate limit limita quantas requisições um cliente pode fazer em uma janela de tempo; excedê-lo retorna um erro (frequentemente HTTP 429) até que a janela reinicie.
Um api rate limit limita quantas requisições um cliente pode fazer em uma janela de tempo; excedê-lo retorna um erro (frequentemente HTTP 429) até que a janela reinicie.
Rate limits protegem um serviço de sobrecarga e impõem uso justo. Os clientes precisam acompanhar sua cota restante e desacelerar antes de baterem no limite.
Em CI
O GitHub retorna 403 ou 429 com um header X-RateLimit-Remaining: 0 quando um workflow faz chamadas de API em excesso. A correção é autenticar (limites mais altos), fazer cache das respostas e aplicar backoff no header Retry-After.
Guias relacionados
Exponential Backoff - CI/CD Glossary DefinitionExponential Backoff: Exponential backoff is a retry strategy that doubles the wait between attempts (1s, 2s,…
Retry Policy - CI/CD Glossary DefinitionRetry Policy: A retry policy defines when and how many times a failed operation is retried, including the del…
Polling - CI/CD Glossary DefinitionPolling: Polling is repeatedly asking a service whether something changed on a fixed interval, as opposed to…