14.ThreadPool
Java · 4 notes
- 6.14 14.ThreadPoolhistorical
Thread pools separate submission from execution and reuse threads to reduce creation and destruction. These notes examine Java pool structure and execution.
- 6.28 Executorshistorical
Executors provides factory methods for different thread pools. These notes compare cached, fixed-size, single-threaded, and scheduled pools through examples.
- 6.36 RejectedExecutionHandlerhistorical
When a thread pool's workers and queue are full, a rejection handler processes new tasks. These notes examine RejectedExecutionHandler implementations.
- Estimating Thread Pool Sizehistorical
Thread counts can be estimated from QPS and response time, then checked with load testing. These notes record that estimation and validation process.