hard20 pts · first answer countsreliabilitydistributed-systemsperformance
Work continues after the client gives up
Mobile clients time out after 2 seconds. Your API calls a downstream service with a 10-second timeout. When the downstream slows down, the API keeps working on thousands of requests nobody is waiting for and runs out of resources. What is the best fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Slow email during signupBackend Developer
- What EXPLAIN tells youBackend Developer
- Asking for only a few fieldsBackend Developer
- Building a long string in a loopBackend Developer
- Checking if any rows existBackend Developer
- RPO versus RTOBackend Developer
- Backups that nobody has restoredBackend Developer
- Calls with no timeoutBackend Developer