What is the default rate limit for AWS API Gateway throttling per account per region?
Think about the default soft limits AWS sets for API Gateway to protect backend services.
AWS API Gateway has a default regional throttling limit of 5,000 requests per second per account. This helps prevent backend overload.
You have multiple stages (dev, test, prod) in your API Gateway. How can you apply throttling limits independently for each stage?
Think about how usage plans and API keys can control access and limits per stage.
Usage plans with API keys allow you to set throttling and quota limits per stage by associating keys with specific stages.
Your API experiences sudden bursts of traffic exceeding the throttling limits. Which approach best helps to handle this without dropping requests?
Consider AWS features that allow temporary traffic spikes without rejecting requests.
API Gateway supports burst capacity to handle sudden traffic spikes temporarily. Usage plans with quotas help manage overall usage.
Which is a key tradeoff when choosing client-side throttling over server-side throttling in API Gateway?
Think about control and reliability differences between client and server throttling.
Client-side throttling reduces load on the server but depends on clients to respect limits, which may not always happen.
Your API Gateway has a steady rate limit of 5,000 requests per second and a burst capacity of 10,000 requests. How many requests can it handle in 2 seconds during a sudden traffic spike?
Consider how burst capacity adds to the steady rate limit over time.
In the first second, API Gateway can handle up to 15,000 requests (10,000 burst + 5,000 steady), and 5,000 steady requests in the second second, totaling 20,000 requests over 2 seconds.