Architecting High-Throughput I/O with Java Virtual Threads
Learn how to implement Java Virtual Threads (Project Loom) to solve platform thread exhaustion in I/O-bound applications, including how to avoid carrier thread pinning.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to implement Java Virtual Threads (Project Loom) to solve platform thread exhaustion in I/O-bound applications, including how to avoid carrier thread pinning.
Explains how to replace thread pools with virtual threads for I/O‑bound Java services, covering pinning risks, ThreadLocal limits, and verification steps.
Context Dropwizard 3.x migrated to Jakarta EE namespaces while retaining Jetty 11 as the default embedded server. Jetty 11 now includes experimental support for virtual threads (Project Loom), which can improve throughput for I/O-bound workloads by decoupling request handling from platform threads. Unresolved Decision The framework has not yet formalized a c
Goal: diagnose why code that compiled and ran with the preview virtual thread API in JDK 19 or JDK 20 fails when compiled or executed on JDK 21, where virtual threads are finalized and the API has changed. Constraints: the code may use preview‑only imports (jdk.incubator.concurrent), preview‑only constructors, and custom scheduler implementations that relied