Given API Gateway throttling settings: rateLimit = 100 and burstLimit = 50, what happens if 120 requests arrive instantly?
medium📝 Predict Output Q4 of 15
AWS - API Gateway
Given API Gateway throttling settings: rateLimit = 100 and burstLimit = 50, what happens if 120 requests arrive instantly?
A50 requests are allowed immediately; remaining 70 are throttled
BAll 120 requests are allowed immediately
COnly 100 requests are allowed; 20 are throttled
DRequests are queued until rateLimit resets
Step-by-Step Solution
Solution:
Step 1: Understand burst and rate limits
Burst limit allows a short spike of 50 requests instantly; rate limit allows 100 steady requests per second.
Step 2: Apply limits to 120 requests
With 120 requests arriving instantly, only 50 are allowed immediately (burst); the remaining 70 exceed the burst capacity and are throttled (429 errors).
Final Answer:
50 requests are allowed immediately; remaining 70 are throttled -> Option A