Virtual vs Platform Threads for API Calls
This post dives into virtual threads and explores if they are a silver bullet for making a high volume of API calls.
Intro The application I am working on performs a significant number of concurrent REST calls (over 10_000) with minimal processing required on the response. This scenario seems ideal for virtual threads. Let's analyze how they perform application and if the switch is worthwhile.
Background Virtual threads introduce an abstraction layer on top of traditional platform threads.