Explores the limitations of OS/platform threads and introduces virtual threads from Project Loom in JDK 21 as a solution. Provides a comparative analysis of virtual thread implementations in both JDK and Spring Core Reactor, highlighting use cases, performance metrics including processing time, memory footprint, and GC metrics.

7m read timeFrom dhaval-shah.com
Post cover image
Table of contents
Parallel processing with Virtual Threads - A comparative analysisBackground1. Limitations of OS / Platform threads2. What are Virtual Threads3. When to use Virtual Threads4. Solutions with Virtual Threads based implementation5. Comparative analysis of Virtual Thread based implementationsConclusion

Sort: