Delivery Hero Mar 4, 2025

Future for Java: Virtual Thread

Article Summary

Woowa Brothers needed to handle massive I/O in their authentication gateway. Java's traditional threads couldn't keep up, so they explored virtual threads.

This deep dive from Delivery Hero's engineering team examines Java's virtual threads (Project Loom), now official in JDK 21. The team compares performance against traditional threads, Kotlin coroutines, and reactive programming through real load testing.

Key Takeaways

Critical Insight

Virtual threads deliver dramatic performance gains for I/O-heavy Java applications without requiring reactive programming's complexity or code rewrites.

The article reveals why pooling virtual threads is actually wasteful and explains the surprising 'yo-yo effect' you need to avoid.

Recent from Delivery Hero

Related Articles