Skip to content
Sharp

Networking · interview question

In a high-concurrency environment, what is a potential risk of not setting timeouts for HTTP requests?

Multiple choiceHardchapter-11-curatedpremiumnetworkingtimeouts-and-retries
Choose one answer
Answer and explanation

Correct answer

D. Exhausting the thread pool, leading to application unresponsiveness.

Why

Without proper timeouts, threads handling HTTP requests can hang indefinitely if the server is unresponsive, potentially exhausting thread pool resources. This can lead to application unresponsiveness as no threads are available to handle new tasks.

Test yourself on Networking

A free test with instant, explained results. No account needed.

Start free test
All Networking questions →