Tagged articles

Rejection Policy

1 articles · Page 1 of 1
Dabaoshi
Dabaoshi
Aug 18, 2026 · Backend Development

Thread Pool Mechanics and Tuning: Avoid new Thread() in Production

This article explains why creating raw threads in production is costly, breaks down the seven ThreadPoolExecutor parameters, shows the exact execution flow of a submitted task, compares queue choices and Executors factories, and provides practical tuning, rejection‑policy and graceful‑shutdown guidance.

ExecutorServiceJavaPerformance Tuning
0 likes · 16 min read
Thread Pool Mechanics and Tuning: Avoid new Thread() in Production