TLDR Web Dev · ARTICLES & TUTORIALS

JAVA VIRTUAL THREADS: A CASE STUDY

infoq.com19 min read

Summary from the TLDR Web Dev newsletter

Virtual threads in Java do not offer a clear advantage over Open Liberty's existing autonomic thread pool for typical cloud-native Java workloads. Open Liberty is an open-source, modular, cloud-native Java application runtime. In CPU-intensive workloads, virtual threads perform worse, with lower throughput than Open Liberty's thread pool. However, virtual threads do ramp up faster from idle to maximum throughput compared to Open Liberty's thread pool due to its thread-per-request model.