Spring Boot #5 — Servlets, Embedded Tomcat, Thread Pools, and the WAS Layer
Every time I fired off a curl request, a new thread got added. Here's a breakdown of how Tomcat pre-hires workers and assigns requests to them, the balance between thread pools and DB connection pools, and the confusing dual identity of 'Apache'.