Spring Boot on Virtual Threads: Tomcat, Pinning, and the Pool You Should Delete
spring.threads.virtual.enabled, Tomcat's protocol, synchronized pinning on old JDKs, and when a platform-thread pool still belongs in the architecture.
2 min read
Tag
3 articles · 10 min of reading
spring.threads.virtual.enabled, Tomcat's protocol, synchronized pinning on old JDKs, and when a platform-thread pool still belongs in the architecture.
What structured concurrency adds on top of virtual threads: scopes, cancellation that actually propagates, and how it compares to CompletableFuture spaghetti.
Virtual threads remove the cost of blocking, not the need for careful concurrency design. Here's exactly what improves and what stays your problem.