Message-ID: <1367346375.393.1369161251185.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_392_867277852.1369161251184" ------=_Part_392_867277852.1369161251184 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
A thread pool ensures threads are used efficiently within the container.= A number of threads are created at initialization and placed in the pool. = When there is work to be done, for example to service a request, a free thr= ead from the pool is allocated and then returned to the pool when the work = has been completed.
The thread pool implementation availabile in Jetty is called org.mortbay.thread.BoundedThreadP= ool. It is called "Bounded" because it manages the size of th= e thread pool based on configurable minimum and maximum numbers of threads.=
If there are no free threads when one is required, a new thread will be = created and placed in the pool if the maximum pool size has not been reache= d. If the maximum pool size is reached, jobs wait for a free threa= d. Idle threads in the pool will timeout and terminate until the minimum n= umber of threads are running.
It is configured like so:
Change the minimum and maximum threads in accordance with the load profi= le of your installation.------=_Part_392_867277852.1369161251184--