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?