Virtual threadshard5-8 years
What are virtual threads, and what changes when you enable them in a Spring service?
Threads scheduled by the JVM onto a small carrier pool, unmounted while blocked, so blocking is cheap and a million can wait. One per task, never pooled; ordinary blocking code, real stack traces. In Boot it is one property; then the bottleneck moves to the database pool and downstream services, which now receive far more concurrent calls.