Skip to content
Sharp

Concurrency · interview question

A teammate submits shaky semaphores, timeouts, and cancellation code. Which review comment is the strongest?

Multiple choiceMediumchapter-15-curatedpremiumconcurrencysemaphores-timeouts-and-cancellation
Choose one answer
Answer and explanation

Correct answer

C. Make the rule clearer and easier to explain. Apply limits and timeouts so one slow dependency or surge does not saturate the rest of the workflow.

Why

The best review comment anchors the change to readability, correctness, and future maintenance. Unlimited concurrency often looks impressive in a demo and dangerous in production.

Test yourself on Concurrency

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

Start free test
All Concurrency questions →