Orbit · Explore

Java · by Halcon Pujante · 2026-10-31

Are you actually using virtual threads in production yet?

Virtual threads have been stable for a while now, but in my circle most teams still run thread pools the old way. The usual worries I hear are pinning with synchronized blocks, libraries that assume thread-locals are cheap, and observability tools that don't show things nicely. Our team is planning to switch a mostly blocking REST service over. If you've done it, what surprised you, good or bad?

20 sparks · 4 comments

Comments

Hidden Eclipse · 2 likes

watch for pinning in old jdbc drivers. that cost us a week

Sukun Horizon · 1 likes

which driver if u dont mind? we're on an older oracle one

Sukun Horizon · 1 likes

we moved a spring boot service, throughput went up for io-heavy endpoints and the code stayed boring which was the point

Hidden Eclipse · 0 likes

still on java 11 at work so i'm reading this thread like a travel brochure