2 ms·
And once starting and stopping threads adds to much delay to your request processing, there could be a thread pool that grows as needed and which will reuse thr
by pvorb 6y ago
And once starting and stopping threads adds to much delay to your request processing, there could be a thread pool that grows as needed and which will reuse threads that haven't been closed yet.
This mechanism is implemented by Apache httpd, Tomcat and pretty much every classic application server.
- nicoburns 6y ago> This mechanism is implemented by Apache httpd, Tomcat and pretty much every classic application server. True, but there's a reason that Apache usage is declining at the rate that it is.