All Questions
Dealing With Contention easy

If you have a fixed Thread Pool of 10 threads, and 100 requests arrive at once, what happens to the other 90?

  1. A They are rejected immediately.
  2. B They create 90 new threads.
  3. C They ignore the request.
  4. D They sit in a Queue waiting for a thread to become free.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions