Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: New recommendation

...

Thread Pools overcome these disadvantages as the maximum number of worker threads that can be initiated and executed simultaneously, can be controlled. Every worker accepts a Runnable from a request and stores it in a temporary Channel like a buffer or a queue until resources become available. Since threads are reused and can be efficiently added efficiently to the Channel, most of the thread creation overhead is eliminated.

...