A data analytics team retrieves information from a remote service each day through an API for daily visualization updates. The remote provider enforces a limit on the number of requests per hour. In recent weeks, the team has seen more error messages when usage limits are pushed too high. Which method reduces these errors while preserving all requested data?
Use a queue-based method that schedules calls within enforced request limits
Add more parallel threads to collect data at a faster rate
Enable caching to bypass the remote service calls for daily retrieval
Change requests to a different transfer format to lower overhead
A queue-based method regulates how frequently calls are sent, which prevents exceeding service-request thresholds. Increasing parallel threads raises the risk of additional rejections. Changing the data format does not address the issue of exceeding limits. Caching existing data can help with repeated queries against local content, but it does not fetch fresh data needed for daily updates on its own.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an API and how does it work?
Open an interactive chat with Bash
What are the implications of exceeding API request limits?